mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 23:14:31 +04:00
python: use Build/Prepare rule for the config.site file
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
@@ -97,13 +97,11 @@ CONFIGURE_ARGS+= \
|
|||||||
CONFIG_SITE="$(PKG_BUILD_DIR)/config.site" \
|
CONFIG_SITE="$(PKG_BUILD_DIR)/config.site" \
|
||||||
OPT="$(TARGET_CFLAGS)"
|
OPT="$(TARGET_CFLAGS)"
|
||||||
|
|
||||||
define Hooks/Configure/Pre/ConfigSiteInstall
|
define Build/Prepare
|
||||||
|
$(call Build/Prepare/Default)
|
||||||
$(CP) ./files/config.site $(PKG_BUILD_DIR)/config.site
|
$(CP) ./files/config.site $(PKG_BUILD_DIR)/config.site
|
||||||
endef
|
endef
|
||||||
|
|
||||||
Hooks/Configure/Pre+=\
|
|
||||||
Hooks/Configure/Pre/ConfigSiteInstall
|
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
||||||
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/
|
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/
|
||||||
|
|||||||
Reference in New Issue
Block a user