4161c46ce208a7c82994d817fef631eef11ffaef
[openwrt/openwrt.git] / package / boot / uboot-rockchip / patches / 002-spl-remove-dtoc-of-pdata-generation.patch
1 From 55273cf6079ddd3b006da69f0113c2c66c03f17e Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Tue, 14 Jul 2020 22:44:22 +0200
4 Subject: [PATCH] spl: remove dtoc of-pdata generation
5
6 Remove the dtoc of-pdata generation. This generation is dependant on
7 libpython-dev. As OpenWrt does not ship with this dependency, use
8 pre-generated pdata files and remove the generation from the
9 build-process.
10
11 This only affects RK3328 boards.
12
13 Signed-off-by: David Bauer <mail@david-bauer.net>
14 ---
15 scripts/Makefile.spl | 6 ------
16 1 file changed, 6 deletions(-)
17
18 --- a/scripts/Makefile.spl
19 +++ b/scripts/Makefile.spl
20 @@ -320,12 +320,6 @@ PHONY += dts_dir
21 dts_dir:
22 $(shell [ -d $(obj)/dts ] || mkdir -p $(obj)/dts)
23
24 -include/generated/dt-structs-gen.h: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
25 - $(call if_changed,dtoch)
26 -
27 -$(obj)/dts/dt-platdata.c: $(obj)/$(SPL_BIN).dtb dts_dir FORCE
28 - $(call if_changed,dtocc)
29 -
30 ifdef CONFIG_SAMSUNG
31 ifdef CONFIG_VAR_SIZE_SPL
32 VAR_SIZE_PARAM = --vs