From 94b090cb9c1092cdf599d19db509779b160a92f6 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean <aa@ocedo.com> Date: Wed, 26 Nov 2014 10:04:06 +0200 Subject: [PATCH] python: use Build/Prepare rule for the config.site file Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com> --- lang/python/Makefile | 6 ++---- 1 file 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/