Просмотр исходного кода

remove uneeded stuff after python changes in [8639]

SVN-Revision: 8640
Nicolas Thill 18 лет назад
Родитель
Сommit
9f6bd2c07b
2 измененных файлов с 0 добавлено и 16 удалено
  1. 0 11
      include/package.mk
  2. 0 5
      scripts/pylibdir.py

+ 0 - 11
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 $@
 		

+ 0 - 5
scripts/pylibdir.py

@@ -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],))