mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-11-13 00:38:24 +01:00
1af0ae84d1
Binman host tool in u-boot depends on libfdt library and pylibfdt module. All the needed libraries and python modules are a part of u-boot. This patch adds libfdt and pylibfdt to u-boot build: - add required dependencies swig-native and python3-native - fix python setup-tools issue: pass proper shared lib linker Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com>
13 lines
493 B
Diff
13 lines
493 B
Diff
diff --git a/tools/Makefile b/tools/Makefile
|
|
index 5db2a54..54bd224 100644
|
|
--- a/tools/Makefile
|
|
+++ b/tools/Makefile
|
|
@@ -134,6 +134,7 @@ tools/_libfdt.so: $(LIBFDT_SRCS) $(LIBFDT_SWIG)
|
|
$(Q)unset CC; \
|
|
unset CROSS_COMPILE; \
|
|
LDFLAGS="$(HOSTLDFLAGS)" CFLAGS= VERSION="u-boot-$(UBOOTVERSION)" \
|
|
+ CC="$(HOSTCC)" LDSHARED="$(HOSTLDSHARED)" \
|
|
CPPFLAGS="$(_hostc_flags)" OBJDIR=tools \
|
|
SOURCES="$(LIBFDT_SRCS) tools/libfdt.i" \
|
|
SWIG_OPTS="-I$(srctree)/lib/libfdt -I$(srctree)/lib" \
|