diff options
author | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-02 10:24:54 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2009-10-02 10:24:54 +0200 |
commit | a7c5ee544ef61b456676ac58b7eeda56deedc470 (patch) | |
tree | 8eccb5165b68a830971fabfe07b1fb5728ce5cea /package | |
parent | b9df3aefc60c3d569c844fb1fa8f8ec80f65931e (diff) |
python: cleanup
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/python/python.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/package/python/python.mk b/package/python/python.mk index e6f11f7e1..b65869dd3 100644 --- a/package/python/python.mk +++ b/package/python/python.mk @@ -10,7 +10,7 @@ PYTHON_SITE:=http://python.org/ftp/python/$(PYTHON_VERSION) PYTHON_DIR:=$(BUILD_DIR)/Python-$(PYTHON_VERSION) PYTHON_CAT:=$(BZCAT) PYTHON_BINARY:=python -PYTHON_TARGET_BINARY:=usr/bin/python +PYTHON_TARGET_BINARY:=usr/bin/python$(PYTHON_VERSION_MAJOR) PYTHON_DEPS:= PYTHON_SITE_PACKAGE_DIR=$(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages @@ -165,6 +165,7 @@ endif ifneq ($(BR2_PACKAGE_PYTHON_TKINTER),y) rm -rf $(TARGET_DIR)/usr/lib/python$(PYTHON_VERSION_MAJOR)/lib-tk endif + touch -c $@ python: $(PYTHON_DEPS) $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) @@ -185,7 +186,7 @@ LIBPYTHON_BINARY:=libpython$(PYTHON_VERSION_MAJOR).so libpython: python $(TARGET_DIR)/usr/lib/$(LIBPYTHON_BINARY) -$(STAGING_DIR)/usr/lib/libpython$(PYTHON_VERSION_MAJOR).so: $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) +$(STAGING_DIR)/usr/lib/$(LIBPYTHON_BINARY): $(TARGET_DIR)/$(PYTHON_TARGET_BINARY) cp -dpr $(PYTHON_DIR)/$(LIBPYTHON_BINARY).* $(STAGING_DIR)/usr/lib (\ cd $(STAGING_DIR)/usr/lib ; \ |