kernel: Remove unneeded MKDTIMG dependency

Change-Id: Icc1923e922adb50b02252883aa6814101837adfc
This commit is contained in:
Michael Bestas 2022-06-16 07:10:08 +03:00
parent 709371be5e
commit caa3bddf00

View file

@ -438,13 +438,12 @@ ifeq (true,$(filter true, $(TARGET_NEEDS_DTBOIMAGE) $(BOARD_KERNEL_SEPARATED_DTB
ifneq ($(BOARD_CUSTOM_DTBOIMG_MK),) ifneq ($(BOARD_CUSTOM_DTBOIMG_MK),)
include $(BOARD_CUSTOM_DTBOIMG_MK) include $(BOARD_CUSTOM_DTBOIMG_MK)
else else
MKDTIMG := $(HOST_OUT_EXECUTABLES)/mkdtimg$(HOST_EXECUTABLE_SUFFIX)
MKDTBOIMG := $(HOST_OUT_EXECUTABLES)/mkdtboimg.py$(HOST_EXECUTABLE_SUFFIX) MKDTBOIMG := $(HOST_OUT_EXECUTABLES)/mkdtboimg.py$(HOST_EXECUTABLE_SUFFIX)
$(DTBO_OUT): $(DTBO_OUT):
mkdir -p $(DTBO_OUT) mkdir -p $(DTBO_OUT)
$(BOARD_PREBUILT_DTBOIMAGE): $(DTC) $(MKDTIMG) $(MKDTBOIMG) $(DTBO_OUT) $(BOARD_PREBUILT_DTBOIMAGE): $(DTC) $(MKDTBOIMG) $(DTBO_OUT)
$(BOARD_PREBUILT_DTBOIMAGE): $(BOARD_PREBUILT_DTBOIMAGE):
@echo "Building dtbo.img" @echo "Building dtbo.img"
$(hide) find $(DTBO_OUT)/arch/$(KERNEL_ARCH)/boot/dts -type f -name "*.dtbo" | xargs rm -f $(hide) find $(DTBO_OUT)/arch/$(KERNEL_ARCH)/boot/dts -type f -name "*.dtbo" | xargs rm -f