mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-03 21:09:42 +02:00
remove uneeded stuff after python changes in [8639]
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8640 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
55807e35d6
commit
d1b1cda191
@ -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 $@
|
||||
|
||||
|
@ -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],))
|
Loading…
Reference in New Issue
Block a user