uboot-mediatek: update to 2021.04-rc3 with MediaTek's patches
[openwrt/staging/rmilecki.git] / package / boot / uboot-mediatek / patches / 100-scripts-remove-dependency-on-swig.patch
1 From b137ca16b54c67d76714ea5a0138741959b0dc29 Mon Sep 17 00:00:00 2001
2 From: David Bauer <mail@david-bauer.net>
3 Date: Mon, 13 Jul 2020 23:37:37 +0200
4 Subject: [PATCH] scripts: remove dependency on swig
5
6 Don't build the libfdt tool, as it has a dependency on swig (which
7 OpenWrt does not ship).
8
9 This requires more hacks, as of-platdata generation does not work
10 without it.
11
12 Signed-off-by: David Bauer <mail@david-bauer.net>
13 ---
14 scripts/dtc/Makefile | 2 --
15 1 file changed, 2 deletions(-)
16
17 --- a/scripts/dtc/Makefile
18 +++ b/scripts/dtc/Makefile
19 @@ -18,5 +18,3 @@ HOSTCFLAGS_dtc-parser.tab.o := -I$(src)
20 # dependencies on generated files need to be listed explicitly
21 $(obj)/dtc-lexer.lex.o: $(obj)/dtc-parser.tab.h
22
23 -# Added for U-Boot
24 -subdir-$(CONFIG_PYLIBFDT) += pylibfdt