From d1b1cda191e6e5093546b3a88747b96524199fc3 Mon Sep 17 00:00:00 2001 From: nico Date: Thu, 6 Sep 2007 02:57:06 +0000 Subject: [PATCH 1/1] remove uneeded stuff after python changes in [8639] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8640 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package.mk | 11 ----------- scripts/pylibdir.py | 5 ----- 2 files changed, 16 deletions(-) delete mode 100755 scripts/pylibdir.py diff --git a/include/package.mk b/include/package.mk index 0c8886c78..591816b75 100644 --- a/include/package.mk +++ b/include/package.mk @@ -125,17 +125,6 @@ define Build/Compile $(call Build/Compile/Default,) endef -define Build/Compile/PyMod - ( cd $(PKG_BUILD_DIR); \ - CFLAGS="$(TARGET_CFLAGS)" \ - CPPFLAGS="$(TARGET_CPPFLAGS)" \ - LDFLAGS="$(TARGET_LDFLAGS)" \ - $(1) \ - $(STAGING_DIR)/usr/bin/hostpython ./setup.py $(2) \ - --prefix="$(PKG_INSTALL_DIR)/usr" \ - ) -endef - $(PACKAGE_DIR): mkdir -p $@ diff --git a/scripts/pylibdir.py b/scripts/pylibdir.py deleted file mode 100755 index 05b5afbdb..000000000 --- a/scripts/pylibdir.py +++ /dev/null @@ -1,5 +0,0 @@ -# Note #! intentionally left out. This should be called with the version of -# python you care about. - -import sys -print ("/usr/lib/python%s.%s/site-packages" % (sys.version_info[0], sys.version_info[1],)) -- 2.20.1