0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-03-01 10:21:22 +00:00
Lakka-LibreELEC/projects/L4T/devices/Switch/packages/switch-u-boot/patches/switch-u-boot-fix-dtb-compile.patch
GavinDarkglider 591fe2463b [WIP]Lakka-v4.x:Switch:New Bootloader and Mariko(2019 switch, Lite, OLED) Support (#1800)
* Remove same_cdi from build, as it fails more than often than not

* Switch: Switch to new Bootloader.

* Initial Mariko Support
2022-12-25 04:25:42 +02:00

13 lines
849 B
Diff

diff -Naur switch-u-boot-a78b224c6bccced805767022398875225fae031d/scripts/Makefile.lib switch-u-boot-a78b224c6bccced805767022398875225fae031d-2/scripts/Makefile.lib
--- switch-u-boot-a78b224c6bccced805767022398875225fae031d/scripts/Makefile.lib 2022-12-21 19:29:32.133017061 +0100
+++ switch-u-boot-a78b224c6bccced805767022398875225fae031d-2/scripts/Makefile.lib 2022-12-21 19:56:57.174600727 +0100
@@ -318,7 +318,7 @@
# 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) \