commit 15df08bb33d056ac80c8088bc03d6ee78890084e
parent 4281b374845a92bed274129baaf6336bac8a5a50
Author: Steven Barth <steven@midlink.org>
Date: Wed, 26 Nov 2014 14:18:52 +0100
Merge pull request #566 from commodo/python-build-prepare
python: use Build/Prepare rule for the config.site file
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git 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/