forked from openkylin/platform_build
Only pick DTBs from BOARD_PREBUILT_DTBIMAGE_DIR
This change is required to prevent the build system from picking up DTB files from subdirectories to BOARD_PREBUILT_DTBIMAGE_DIR. Test: make bootimage Bug: 123648105 Change-Id: Ibc2a133f3c9be6362579dc9bf9ca399912b9d8a2
This commit is contained in:
parent
20258b55b6
commit
c63a74474b
|
@ -840,8 +840,7 @@ $(call dist-for-goals, sdk win_sdk sdk_addon, $(INSTALLED_FILES_FILE_ROOT))
|
|||
|
||||
ifdef BOARD_PREBUILT_DTBIMAGE_DIR
|
||||
INSTALLED_DTBIMAGE_TARGET := $(PRODUCT_OUT)/dtb.img
|
||||
$(INSTALLED_DTBIMAGE_TARGET) : $(addprefix $(BOARD_PREBUILT_DTBIMAGE_DIR)/,\
|
||||
$(call find-files-in-subdirs,$(BOARD_PREBUILT_DTBIMAGE_DIR),*.dtb,.))
|
||||
$(INSTALLED_DTBIMAGE_TARGET) : $(sort $(wildcard $(BOARD_PREBUILT_DTBIMAGE_DIR)/*.dtb))
|
||||
cat $^ > $@
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue