python: Move .mk copying to InstallDev
git-svn-id: svn://svn.openwrt.org/openwrt/packages@23725 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ae25f54456
commit
4035fb0ffc
@ -150,6 +150,8 @@ endef
|
|||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
$(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib
|
||||||
|
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
||||||
|
$(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
|
||||||
$(1)/usr/include/
|
$(1)/usr/include/
|
||||||
@ -412,8 +414,6 @@ define Host/Compile
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define Host/Install
|
define Host/Install
|
||||||
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
|
||||||
$(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
|
|
||||||
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin/
|
||||||
$(MAKE) -C $(HOST_BUILD_DIR) \
|
$(MAKE) -C $(HOST_BUILD_DIR) \
|
||||||
HOSTPYTHON=$(HOST_BUILD_DIR)/python \
|
HOSTPYTHON=$(HOST_BUILD_DIR)/python \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user