From 9437012b9ee4dc550e42665b71902cf885169100 Mon Sep 17 00:00:00 2001 From: Daniel Golle Date: Fri, 26 Jul 2019 23:45:47 +0200 Subject: tools/mklibs: update to 0.1.44 and convert to Python 3 Since the switch to Python 3 build fails if CONFIG_USE_MKLIBS is set ("Strip unnecessary functions from libraries" in menuconfig) as mklibs hasn't been converted to run on Python 3. * update to most recent upstream version which brings some reproducibility fixes * converted to Python 3 using 2to3 * fixed mixed tab/spaces indentation * fixed use of string.* functions * some more minor fixes to make Python 3 happy Fixes commit 19938c8de7 ("build: switch to Python 3") Signed-off-by: Daniel Golle --- tools/mklibs/patches/006-uclibc_init.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/mklibs/patches/006-uclibc_init.patch') diff --git a/tools/mklibs/patches/006-uclibc_init.patch b/tools/mklibs/patches/006-uclibc_init.patch index 2df7fe4355..da83340fe4 100644 --- a/tools/mklibs/patches/006-uclibc_init.patch +++ b/tools/mklibs/patches/006-uclibc_init.patch @@ -1,6 +1,6 @@ --- a/src/mklibs +++ b/src/mklibs -@@ -595,6 +595,11 @@ while 1: +@@ -604,6 +604,11 @@ while 1: extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o") symbols.add(ProvidedSymbol('__dso_handle', None, None, True)) -- cgit v1.2.3