From: Felix Fietkau Date: Fri, 3 Nov 2017 15:08:12 +0000 (+0100) Subject: build: fix another regression in append-dtb fix X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c6f71ad30b768266a8fcc42af719881e93739365;p=openwrt%2Fstaging%2Fpepe2k.git build: fix another regression in append-dtb fix Filter out duplicate generated code for the same dts files Signed-off-by: Felix Fietkau --- diff --git a/include/image.mk b/include/image.mk index 2d7b1ef998..96a8892115 100644 --- a/include/image.mk +++ b/include/image.mk @@ -437,10 +437,14 @@ endef ifndef IB define Device/Build/dtb + ifndef BUILD_DTS_$(1) + BUILD_DTS_$(1) := 1 $(KDIR)/image-$(1).dtb: FORCE $(call Image/BuildDTB,$(strip $(2))/$(1).dts,$$@) image_prepare: $(KDIR)/image-$(1).dtb + endif + endef endif