diff --git a/packages/linux/package.mk b/packages/linux/package.mk index d6c8d1be38..691eccfe58 100644 --- a/packages/linux/package.mk +++ b/packages/linux/package.mk @@ -171,7 +171,7 @@ make_target() { if [ "$BUILD_ANDROID_BOOTIMG" = "yes" ]; then LDFLAGS="" mkbootimg --kernel arch/$TARGET_KERNEL_ARCH/boot/$KERNEL_TARGET --ramdisk $ROOT/$BUILD/image/initramfs.cpio \ - --second "$ANDROID_BOOTIMG_SECOND" --output arch/$TARGET_KERNEL_ARCH/boot/boot.img + $ANDROID_BOOTIMG_OPTIONS --output arch/$TARGET_KERNEL_ARCH/boot/boot.img mv -f arch/$TARGET_KERNEL_ARCH/boot/boot.img arch/$TARGET_KERNEL_ARCH/boot/$KERNEL_TARGET fi } diff --git a/projects/WeTek_Core/options b/projects/WeTek_Core/options index d44de41a36..8ce2d1368f 100644 --- a/projects/WeTek_Core/options +++ b/projects/WeTek_Core/options @@ -56,8 +56,8 @@ # 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/meson8m2_wetek_core.dtb" + # Additional options to be passed to Android mkbootimg + ANDROID_BOOTIMG_OPTIONS="--second arch/arm/boot/dts/amlogic/meson8m2_wetek_core.dtb" # Additional kernel make parameters (for example to specify the u-boot loadaddress) KERNEL_MAKE_EXTRACMD=""