From: Nicolas Thill Date: Thu, 6 Sep 2007 02:57:06 +0000 (+0000) Subject: remove uneeded stuff after python changes in [8639] X-Git-Tag: reboot~28220 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=commitdiff_plain;h=9f6bd2c07b912c8ed7fd5066efdfbc1f4be37085;hp=22282193a9e49c10bc35f180f27c330d37fde92b remove uneeded stuff after python changes in [8639] SVN-Revision: 8640 --- diff --git a/include/package.mk b/include/package.mk index 0c8886c784..591816b755 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 05b5afbdb2..0000000000 --- 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],))