tools/mklibs: update to 0.1.44 and convert to Python 3
authorDaniel Golle <daniel@makrotopia.org>
Fri, 26 Jul 2019 21:45:47 +0000 (23:45 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Fri, 26 Jul 2019 21:50:21 +0000 (23:50 +0200)
commit9437012b9ee4dc550e42665b71902cf885169100
tree68243f401099be5e37fddbdf15ae745e267c8cb7
parent83d5ca2186f7801d94f336e09f8db0a2c5c5d97f
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 <daniel@makrotopia.org>
tools/mklibs/Makefile
tools/mklibs/patches/002-disable_symbol_checks.patch
tools/mklibs/patches/003-no_copy.patch
tools/mklibs/patches/004-libpthread_link.patch
tools/mklibs/patches/005-duplicate_syms.patch
tools/mklibs/patches/006-uclibc_init.patch
tools/mklibs/patches/007-gc_sections.patch
tools/mklibs/patches/008-uclibc_libgcc_link.patch
tools/mklibs/patches/009-uclibc_libpthread_symbols.patch
tools/mklibs/patches/011-remove_multiarch.patch
tools/mklibs/patches/100-apply-2to3.patch [new file with mode: 0644]