diff --git a/scripts/image b/scripts/image index a2126aad3d..28cffb476e 100755 --- a/scripts/image +++ b/scripts/image @@ -223,13 +223,7 @@ mkdir -p $TARGET_IMG rm -rf $TARGET_IMG/$IMAGE_NAME.kernel # copy kernel to target dir -if [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then - echo "injecting DeviceTreeBlobs to kernel..." - perl $BUILD/linux-$(kernel_version)/scripts/mkknlimg $BUILD/linux-$(kernel_version)/arch/$TARGET_KERNEL_ARCH/boot/$KERNEL_TARGET $TARGET_IMG/$IMAGE_NAME.kernel - echo "...done" -else - cp -PR $BUILD/linux-$(kernel_version)/arch/$TARGET_KERNEL_ARCH/boot/$KERNEL_TARGET $TARGET_IMG/$IMAGE_NAME.kernel -fi +cp -PR $BUILD/linux-$(kernel_version)/arch/$TARGET_KERNEL_ARCH/boot/$KERNEL_TARGET $TARGET_IMG/$IMAGE_NAME.kernel chmod 0644 $TARGET_IMG/$IMAGE_NAME.kernel # create squashfs file