diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index ddf83d0..a0fb9e3 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib @@ -275,7 +275,11 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \ # DTC # --------------------------------------------------------------------------- +ifeq ($(CONFIG_OF_CONFIGFS),y) +DTC ?= $(objtree)/scripts/dtc/dtc -@ +else DTC ?= $(objtree)/scripts/dtc/dtc +endif # Generate an assembly file to wrap the output of the device tree compiler quiet_cmd_dt_S_dtb= DTB $@