mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-12-05 00:21:10 +01:00
parent
1facb18f43
commit
f39a23dab7
8 changed files with 289 additions and 0 deletions
13
mnt/reform2-nitrogen8m/uboot/shell-syntax.patch
Normal file
13
mnt/reform2-nitrogen8m/uboot/shell-syntax.patch
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
|
||||
index f8c3fff1d1..bb68e119e2 100644
|
||||
--- a/scripts/Makefile.lib
|
||||
+++ b/scripts/Makefile.lib
|
||||
@@ -299,7 +299,7 @@ quiet_cmd_dtc = DTC $@
|
||||
# Modified for U-Boot
|
||||
# Bring in any U-Boot-specific include at the end of the file
|
||||
cmd_dtc = mkdir -p $(dir ${dtc-tmp}) ; \
|
||||
- (cat $<; $(if $(u_boot_dtsi),echo '\#include "$(u_boot_dtsi)"')) > $(pre-tmp); \
|
||||
+ (cat $<; $(if $(u_boot_dtsi),echo '#include "$(u_boot_dtsi)"')) > $(pre-tmp); \
|
||||
$(CPP) $(dtc_cpp_flags) -x assembler-with-cpp -o $(dtc-tmp) $(pre-tmp) ; \
|
||||
$(DTC) -O dtb -o $@ -b 0 \
|
||||
-i $(dir $<) $(DTC_FLAGS) \
|
||||
Loading…
Add table
Add a link
Reference in a new issue