powerpc/dts: fix not include DTC_FLAGS
Subsystems (2)
PATCH v2 1/1 powerpc/dts: fix not include DTC_FLAGS
A central rule exists to create $(obj)/%.dtb from $(src)/%.dts,DTC_FLAGS flag must be used with it. See other architecture and Documentation:arch/microblaze/boot/dts/Makefile Documentation/kbuild/makefiles.rst +1433
Signed-off-by Youlin Song <[email protected]>
--- arch/powerpc/boot/Makefile | 2 -- arch/powerpc/boot/dts/Makefile | 1 + 2 files changed, 1 insertion(+), 2 deletions(-)
arch/powerpc/boot/Makefile +0 -2
@@ -72,8 +72,6 @@ endif BOOTCFLAGS += -I$(objtree)/$(obj) -I$(srctree)/$(obj) -DTC_FLAGS ?= -p 1024 - $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=440 $(obj)/cuboot-hotfoot.o: BOOTCFLAGS += -mcpu=405
arch/powerpc/boot/dts/Makefile +1 -0
@@ -2,5 +2,6 @@ subdir-y += fsl +DTC_FLAGS ?= -p 1024 dtstree := $(srctree)/$(src) dtb-$(CONFIG_OF_ALL_DTBS) := $(patsubst $(dtstree)/%.dts,%.dtb, $(wildcard $(dtstree)/*.dts))
Signature · 1 line
2.25.1