Add basic *devices* support to all amlogic boards

This commit is contained in:
demetris 2016-12-30 00:11:23 +02:00
parent 1df13afe37
commit d4fe623b6a
9 changed files with 23 additions and 8 deletions

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8_m8_2G.dtd meson8_m8_2G.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8_m8_2G.dtb"

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET=" meson8_k200b_1G_emmc_sdio.dtd meson8_k200b_1G_emmc_sdio.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8_k200b_1G_emmc_sdio.dtb"

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8_k200b_2G_emmc_sdio.dtd meson8_k200b_2G_emmc_sdio.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8_k200b_2G_emmc_sdio.dtb"

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8_t8_2G.dtd meson8_t8_2G.dtb"
KERNEL_UBOOT_EXTRA_TARGET="meson8_t8_2G.dtd meson8_t8_2G.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8_t8_2G.dtb"

View File

@ -23,15 +23,9 @@
# Kernel target
KERNEL_UBOOT_TARGET="uImage"
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8_k200b_2G_emmc_sdio.dtd meson8_k200b_2G_emmc_sdio.dtb"
# Build Android kernel image using mkbootimg
BUILD_ANDROID_BOOTIMG="yes"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8_k200b_2G_emmc_sdio.dtb"
# Additional kernel make parameters (for example to specify the u-boot loadaddress)
KERNEL_MAKE_EXTRACMD=""

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8b_mk808bplus.dtd meson8b_mk808bplus.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8b_mk808bplus.dtb"

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8b_mxq.dtd meson8b_mxq.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8b_mxq.dtb"

View File

@ -1,2 +1,5 @@
# Kernel extra targets to build
KERNEL_UBOOT_EXTRA_TARGET="meson8b_m201C_512M.dtd meson8b_m201C_512M.dtb"
# Path to a file that will be passed as the --second parameter to Android mkbootimg
ANDROID_BOOTIMG_SECOND="arch/arm/boot/dts/amlogic/meson8b_m201C_512M.dtb"

View File

@ -41,7 +41,7 @@ if [ "$OPENELEC_VERSION" = devel ]; then
fi
TARGET_VERSION="$PROJECT"
if [ "$PROJECT" == "imx6" -o "$PROJECT" == "H3" -o "$PROJECT" == "S805" ] && [ -n "$SYSTEM" ]; then
if [ "$PROJECT" == "imx6" -o "$PROJECT" == "H3" -o "$PROJECT" == "S802" -o "$PROJECT" == "S805" ] && [ -n "$SYSTEM" ]; then
TARGET_VERSION="$TARGET_VERSION.$SYSTEM"
fi
TARGET_VERSION="$TARGET_VERSION.$TARGET_ARCH-$OPENELEC_VERSION"