aboutsummaryrefslogtreecommitdiffstats
path: root/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch')
-rw-r--r--package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch b/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
index 61a56c2afc..14bcbfb630 100644
--- a/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
+++ b/package/boot/uboot-rockchip/patches/002-spl-remove-dtoc-of-pdata-generation.patch
@@ -17,14 +17,12 @@ Signed-off-by: David Bauer <mail@david-bauer.net>
--- a/scripts/Makefile.spl
+++ b/scripts/Makefile.spl
-@@ -329,10 +329,6 @@ PHONY += dts_dir
- dts_dir:
- $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
-
--include/generated/dt-structs-gen.h $(u-boot-spl-platdata_c) &: \
-- $(obj)/$(SPL_BIN).dtb dts_dir FORCE
+@@ -354,8 +354,6 @@ $(platdata-hdr) $(u-boot-spl-platdata_c)
+ @# of OF_PLATDATA_INST and this might change between builds. Leaving old
+ @# ones around is confusing and it is possible that switching the
+ @# setting again will use the old one instead of regenerating it.
+- @rm -f $(u-boot-spl-all-platdata_c) $(u-boot-spl-all-platdata)
- $(call if_changed,dtoc)
--
+
ifdef CONFIG_SAMSUNG
ifdef CONFIG_VAR_SIZE_SPL
- VAR_SIZE_PARAM = --vs