|
@@ -269,6 +269,7 @@ cmd_gzip = (cat $(filter-out FORCE,$^) | gzip -n -f -9 > $@) || \
|
|
|
|
|
|
# DTC
|
|
# DTC
|
|
# ---------------------------------------------------------------------------
|
|
# ---------------------------------------------------------------------------
|
|
|
|
+DTC ?= $(objtree)/scripts/dtc/dtc
|
|
|
|
|
|
# Generate an assembly file to wrap the output of the device tree compiler
|
|
# Generate an assembly file to wrap the output of the device tree compiler
|
|
quiet_cmd_dt_S_dtb= DTB $@
|
|
quiet_cmd_dt_S_dtb= DTB $@
|
|
@@ -291,7 +292,7 @@ $(obj)/%.dtb.S: $(obj)/%.dtb
|
|
quiet_cmd_dtc = DTC $@
|
|
quiet_cmd_dtc = DTC $@
|
|
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
|
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
|
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
|
|
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $< ; \
|
|
- $(objtree)/scripts/dtc/dtc -O dtb -o $@ -b 0 \
|
|
|
|
|
|
+ $(DTC) -O dtb -o $@ -b 0 \
|
|
-i $(dir $<) $(DTC_FLAGS) \
|
|
-i $(dir $<) $(DTC_FLAGS) \
|
|
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
|
|
-d $(depfile).dtc.tmp $(dtc-tmp) ; \
|
|
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
|
|
cat $(depfile).pre.tmp $(depfile).dtc.tmp > $(depfile)
|