mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-22 06:41:23 +00:00
16 lines
542 B
Diff
16 lines
542 B
Diff
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 $@
|