diff options
author | Yongqin Liu <yongqin.liu@linaro.org> | 2022-03-02 18:04:05 +0800 |
---|---|---|
committer | Yongqin Liu <yongqin.liu@linaro.org> | 2022-03-02 18:10:53 +0800 |
commit | 1a12e4f98f4001e143e5b7fc010f4e03e53a5042 (patch) | |
tree | 22a1bf77f36894267b3b187de30296ca73ba01aa | |
parent | 8c9fedfecd369fa71b5477032da5f851c17e6221 (diff) | |
download | beagle-x15-1a12e4f98f4001e143e5b7fc010f4e03e53a5042.tar.gz |
boot_fit.mk: drop the build of boot_fit.img
as it seems not used since the support for the dynamic partition.
and current it cause problem for the build with the new mkimage,
which is submitted by the change here:
https://android-review.googlesource.com/c/device/google/cuttlefish_prebuilts/+/2002590/
and the build error message looks like the following:
[ 32% 4888/15119] build out/target/product/beagle_x15/boot_fit.img
FAILED: out/target/product/beagle_x15/boot_fit.img
/bin/bash -c "(mkdir -p out/target/product/beagle_x15/obj/PACKAGING/fit_intermediates ) && (cp device/ti/beagle_x15/beagle_x15.its out/target/product/beagle_x15/obj/PACKAGING/fit_intermediates/ ) && (cp
out/target/product/beagle_x15/ramdisk.img out/target/product/beagle_x15/obj/PACKAGING/fit_intermediates/ ) && (cp out/target/product/beagle_x15/kernel out/target/product/beagle_x15/obj/PACKAGING/fit_inte
rmediates/zImage ) && (cp device/ti/beagle_x15-kernel/4.14/*.dtb out/target/product/beagle_x15/obj/PACKAGING/fit_intermediates/ ) && (cp device/ti/beagle_x15-kernel/4.14/*.dtbo out/target/product/beagle_
x15/obj/PACKAGING/fit_intermediates/ ) && (PATH=out/host/linux-x86/bin:\$PATH out/host/linux-x86/bin/mkimage -D \"-I dts -O dtb -p 500 -Wno-unit_address_vs_reg\" -f out/target/product/beagle_x15/obj/PACK
AGING/fit_intermediates/beagle_x15.its out/target/product/beagle_x15/boot_fit.img )"
out/host/linux-x86/bin/mkimage: verify_header failed for FIT Image support with exit code 1
Test: source/lunch/build beagle_x15-userdebug works
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
Change-Id: Ib4d8bbeb1c26f7527ba2d2bc8698fce360b2a304
-rw-r--r-- | build/tasks/boot_fit.mk | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/build/tasks/boot_fit.mk b/build/tasks/boot_fit.mk deleted file mode 100644 index 2852cf7..0000000 --- a/build/tasks/boot_fit.mk +++ /dev/null @@ -1,41 +0,0 @@ -ifneq ($(filter beagle_x15%, $(TARGET_DEVICE)),) -ifeq ($(TARGET_BOOTIMAGE_FIT), true) - -MKIMAGE := $(HOST_OUT_EXECUTABLES)/mkimage -DTC := $(HOST_OUT_EXECUTABLES)/dtc -BOARD_DIR := device/ti/beagle_x15 -ITS := beagle_x15.its -BOOTIMG_FIT := $(PRODUCT_OUT)/boot_fit.img -BOOTIMG_FIT_INSTALLED_KERNEL_TARGET := $(PRODUCT_OUT)/kernel -BOOTIMG_FIT_INSTALLED_RAMDISK_TARGET := $(PRODUCT_OUT)/ramdisk.img - -$(BOOTIMG_FIT): PRIVATE_DTC_FLAGS_MKIMAGE = -I dts -O dtb -p 500 -Wno-unit_address_vs_reg -$(BOOTIMG_FIT): PRIVATE_INTERMEDIATES := $(call intermediates-dir-for,PACKAGING,fit) -$(BOOTIMG_FIT): PRIVATE_ITS := $(ITS) -$(BOOTIMG_FIT): PRIVATE_MKIMAGE := $(MKIMAGE) -$(BOOTIMG_FIT): PRIVATE_BOARD_DIR := $(BOARD_DIR) -$(BOOTIMG_FIT): PRIVATE_INSTALLED_KERNEL_TARGET := $(BOOTIMG_FIT_INSTALLED_KERNEL_TARGET) -$(BOOTIMG_FIT): PRIVATE_INSTALLED_RAMDISK_TARGET := $(BOOTIMG_FIT_INSTALLED_RAMDISK_TARGET) -$(BOOTIMG_FIT): $(BOOTIMG_FIT_INSTALLED_KERNEL_TARGET) $(BOOTIMG_FIT_INSTALLED_RAMDISK_TARGET) -$(BOOTIMG_FIT): $(BOARD_DIR)/$(ITS) $(MKIMAGE) $(DTC) $(wildcard $(DTB_DIR)/*.dtb) - mkdir -p $(PRIVATE_INTERMEDIATES) - cp $(PRIVATE_BOARD_DIR)/$(PRIVATE_ITS) $(PRIVATE_INTERMEDIATES)/ - cp $(PRIVATE_INSTALLED_RAMDISK_TARGET) $(PRIVATE_INTERMEDIATES)/ - cp $(PRIVATE_INSTALLED_KERNEL_TARGET) $(PRIVATE_INTERMEDIATES)/zImage - cp $(DTB_DIR)/*.dtb $(PRIVATE_INTERMEDIATES)/ -ifneq ($(wildcard $(DTBO_DIR)/*.dtbo),) - cp $(DTBO_DIR)/*.dtbo $(PRIVATE_INTERMEDIATES)/ -endif - PATH=$(HOST_OUT_EXECUTABLES):$$PATH $(PRIVATE_MKIMAGE) -D "$(PRIVATE_DTC_FLAGS_MKIMAGE)" -f $(PRIVATE_INTERMEDIATES)/$(PRIVATE_ITS) $@ - -include $(CLEAR_VARS) -LOCAL_MODULE := bootfitimage -LOCAL_LICENSE_KINDS := legacy_notice -LOCAL_LICENSE_CONDITIONS := notice -LOCAL_ADDITIONAL_DEPENDENCIES := $(BOOTIMG_FIT) -include $(BUILD_PHONY_PACKAGE) - -droidcore: bootfitimage - -endif -endif |