summaryrefslogtreecommitdiff
path: root/lang/python
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2014-11-26 14:18:52 +0100
committerSteven Barth <steven@midlink.org>2014-11-26 14:18:52 +0100
commit15df08bb33d056ac80c8088bc03d6ee78890084e (patch)
treebfe96c942adf5aa69ffe62efa38025506cc8d23f /lang/python
parent4281b374845a92bed274129baaf6336bac8a5a50 (diff)
parent94b090cb9c1092cdf599d19db509779b160a92f6 (diff)
Merge pull request #566 from commodo/python-build-prepare
python: use Build/Prepare rule for the config.site file
Diffstat (limited to 'lang/python')
-rw-r--r--lang/python/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/lang/python/Makefile b/lang/python/Makefile
index 39a1da622..92271ba9f 100644
--- a/lang/python/Makefile
+++ b/lang/python/Makefile
@@ -97,13 +97,11 @@ CONFIGURE_ARGS+= \
CONFIG_SITE="$(PKG_BUILD_DIR)/config.site" \
OPT="$(TARGET_CFLAGS)"
-define Hooks/Configure/Pre/ConfigSiteInstall
+define Build/Prepare
+ $(call Build/Prepare/Default)
$(CP) ./files/config.site $(PKG_BUILD_DIR)/config.site
endef
-Hooks/Configure/Pre+=\
- Hooks/Configure/Pre/ConfigSiteInstall
-
define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/mk/
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/