include $(TOPDIR)/rules.mk
PKG_NAME:=mklibs
include $(TOPDIR)/rules.mk
PKG_NAME:=mklibs
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://ftp.de.debian.org/debian/pool/main/m/mklibs/
-PKG_MD5SUM:=7f35dfdbde249a090199829c1a1222d8
+PKG_MD5SUM:=15d20c45f786126e31aa3ac06fc08da5
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mklibs
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/mklibs
define Host/Install
$(INSTALL_BIN) \
define Host/Install
$(INSTALL_BIN) \
- $(HOST_BUILD_DIR)/src/mklibs.py \
- $(HOST_BUILD_DIR)/src/mklibs-copy.py \
+ $(HOST_BUILD_DIR)/src/mklibs \
+ $(HOST_BUILD_DIR)/src/mklibs-copy \
$(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
$(STAGING_DIR_HOST)/bin/
endef
$(HOST_BUILD_DIR)/src/mklibs-readelf/mklibs-readelf \
$(STAGING_DIR_HOST)/bin/
endef
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -500,7 +500,7 @@ while 1:
# No progress in last pass. Verify all remaining symbols are weak.
for name in unresolved:
@@ -500,7 +500,7 @@ while 1:
# No progress in last pass. Verify all remaining symbols are weak.
for name in unresolved:
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -440,7 +440,7 @@ while 1:
passnr = passnr + 1
# Gather all already reduced libraries and treat them as objects as well
@@ -440,7 +440,7 @@ while 1:
passnr = passnr + 1
# Gather all already reduced libraries and treat them as objects as well
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -105,14 +105,14 @@ def library_depends(obj):
# Return a list of libraries the passed objects depend on. The
@@ -105,14 +105,14 @@ def library_depends(obj):
# Return a list of libraries the passed objects depend on. The
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -507,7 +507,6 @@ while 1:
library_symbols = {}
@@ -507,7 +507,6 @@ while 1:
library_symbols = {}
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -571,6 +571,11 @@ while 1:
extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o")
symbols.add(ProvidedSymbol('__dso_handle', None, None, True))
@@ -571,6 +571,11 @@ while 1:
extra_post_obj.append(sysroot + libc_extras_dir + "/sofini.o")
symbols.add(ProvidedSymbol('__dso_handle', None, None, True))
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -583,7 +583,7 @@ while 1:
# compile in only used symbols
cmd = []
@@ -583,7 +583,7 @@ while 1:
# compile in only used symbols
cmd = []
---- a/src/mklibs.py
-+++ b/src/mklibs.py
+--- a/src/mklibs
++++ b/src/mklibs
@@ -560,6 +560,7 @@ while 1:
extra_flags = []
extra_pre_obj = []
@@ -560,6 +560,7 @@ while 1:
extra_flags = []
extra_pre_obj = []