Browse Source

Merge pull request #566 from commodo/python-build-prepare

python: use Build/Prepare rule for the config.site file
lilik-openwrt-22.03
Steven Barth 10 years ago
parent
commit
15df08bb33
1 changed files with 2 additions and 4 deletions
  1. +2
    -4
      lang/python/Makefile

+ 2
- 4
lang/python/Makefile View File

@ -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/


Loading…
Cancel
Save