Loading scripts/Makefile.lib +10 −1 Original line number Diff line number Diff line Loading @@ -257,7 +257,10 @@ DTC ?= $(objtree)/scripts/dtc/dtc # Disable noisy checks by default ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) DTC_FLAGS += -Wno-unit_address_vs_reg \ DTC_FLAGS += -Wno-unit_address_vs_reg endif ifeq ($(DTC_EXT),) DTC_FLAGS += -Wno-simple_bus_reg \ -Wno-unit_address_format \ -Wno-avoid_unnecessary_addr_size \ -Wno-alias_paths \ Loading Loading @@ -292,6 +295,12 @@ cmd_dt_S_dtb= \ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE $(call if_changed,dt_S_dtb) ifneq ($(DTC_EXT),) DTC = $(DTC_EXT) else DTC = $(objtree)/scripts/dtc/dtc endif quiet_cmd_dtc = DTC $@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ Loading scripts/dtc/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ # scripts/dtc makefile hostprogs-y := dtc ifeq ($(DTC_EXT),) always := $(hostprogs-y) endif dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ srcpos.o checks.o util.o Loading Loading
scripts/Makefile.lib +10 −1 Original line number Diff line number Diff line Loading @@ -257,7 +257,10 @@ DTC ?= $(objtree)/scripts/dtc/dtc # Disable noisy checks by default ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),) DTC_FLAGS += -Wno-unit_address_vs_reg \ DTC_FLAGS += -Wno-unit_address_vs_reg endif ifeq ($(DTC_EXT),) DTC_FLAGS += -Wno-simple_bus_reg \ -Wno-unit_address_format \ -Wno-avoid_unnecessary_addr_size \ -Wno-alias_paths \ Loading Loading @@ -292,6 +295,12 @@ cmd_dt_S_dtb= \ $(obj)/%.dtb.S: $(obj)/%.dtb FORCE $(call if_changed,dt_S_dtb) ifneq ($(DTC_EXT),) DTC = $(DTC_EXT) else DTC = $(objtree)/scripts/dtc/dtc endif quiet_cmd_dtc = DTC $@ cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \ $(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \ Loading
scripts/dtc/Makefile +2 −0 Original line number Diff line number Diff line Loading @@ -2,7 +2,9 @@ # scripts/dtc makefile hostprogs-y := dtc ifeq ($(DTC_EXT),) always := $(hostprogs-y) endif dtc-objs := dtc.o flattree.o fstree.o data.o livetree.o treesource.o \ srcpos.o checks.o util.o Loading