From f4c098cc85417fdfc39476d0b8fda6981ac3c265 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Wed, 10 Jan 2018 09:52:18 +0200 Subject: python,python3: merge package install scripts The only difference just a parameter for Python3 [ -b to compile bytecodes in legacy mode ]. No need to keep 2 almost identical files now that they're exported. I'm a bit scared of that param, since it may get removed at some point. But let's see until then. Signed-off-by: Alexandru Ardelean --- lang/python/python-package.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lang/python/python-package.mk') diff --git a/lang/python/python-package.mk b/lang/python/python-package.mk index d1486d726..8bfd5e37f 100644 --- a/lang/python/python-package.mk +++ b/lang/python/python-package.mk @@ -70,7 +70,7 @@ define PyPackage define Package/$(1)/install $(call PyPackage/$(1)/install,$$(1)) find $(PKG_INSTALL_DIR) -name "*\.exe" | xargs rm -f - $(SHELL) $(python_mk_path)python-package-install.sh \ + $(SHELL) $(python_mk_path)python-package-install.sh "2" \ "$(PKG_INSTALL_DIR)" "$$(1)" \ "$(HOST_PYTHON_BIN)" "$$(2)" \ "$$$$$$$$$$(call shvar,PyPackage/$(1)/filespec)" -- cgit