mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
build: fix another regression in append-dtb fix
Filter out duplicate generated code for the same dts files Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
fae5f02912
commit
c6f71ad30b
@ -437,10 +437,14 @@ endef
|
|||||||
|
|
||||||
ifndef IB
|
ifndef IB
|
||||||
define Device/Build/dtb
|
define Device/Build/dtb
|
||||||
|
ifndef BUILD_DTS_$(1)
|
||||||
|
BUILD_DTS_$(1) := 1
|
||||||
$(KDIR)/image-$(1).dtb: FORCE
|
$(KDIR)/image-$(1).dtb: FORCE
|
||||||
$(call Image/BuildDTB,$(strip $(2))/$(1).dts,$$@)
|
$(call Image/BuildDTB,$(strip $(2))/$(1).dts,$$@)
|
||||||
|
|
||||||
image_prepare: $(KDIR)/image-$(1).dtb
|
image_prepare: $(KDIR)/image-$(1).dtb
|
||||||
|
endif
|
||||||
|
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user