blob: bd401103eaf4483fdd77adf9b23a47207968c294 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 55273cf6079ddd3b006da69f0113c2c66c03f17e Mon Sep 17 00:00:00 2001
2From: David Bauer <mail@david-bauer.net>
3Date: Tue, 14 Jul 2020 22:44:22 +0200
4Subject: [PATCH] spl: remove dtoc of-pdata generation
5
6Remove the dtoc of-pdata generation. This generation is dependant on
7libpython-dev. As OpenWrt does not ship with this dependency, use
8pre-generated pdata files and remove the generation from the
9build-process.
10
11This only affects RK3328 boards.
12
13Signed-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@@ -321,12 +321,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