mirror of
https://github.com/openwrt/packages.git
synced 2025-12-23 01:34:31 +04:00
python,python3: do not install .mk snippets
The .mk snippets are not really usable at the moment, as they cannot be considered for metadata collection (package DUMP) when included through include_mk. Python packages do not use include_mk anymore for this reason, so the install commands can be removed as well. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
committed by
Alexandru Ardelean
parent
c6b24960cd
commit
55c0b5ae19
@@ -190,16 +190,6 @@ define Build/Compile
|
||||
$(call Build/Compile/python-pip)
|
||||
endef
|
||||
|
||||
define Build/InstallMkFiles
|
||||
$(INSTALL_DIR) $(STAGING_DIR)/mk/
|
||||
$(INSTALL_DATA) \
|
||||
./files/python-package.mk \
|
||||
./files/python-host.mk \
|
||||
./files/python-version.mk \
|
||||
./files/python-package-install.sh \
|
||||
$(STAGING_DIR)/mk/
|
||||
endef
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/ $(1)/usr/lib/pkgconfig
|
||||
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
|
||||
@@ -218,7 +208,6 @@ define Build/InstallDev
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/usr/lib/python$(PYTHON_VERSION)/config \
|
||||
$(1)/usr/lib/python$(PYTHON_VERSION)/
|
||||
$(call Build/InstallMkFiles)
|
||||
endef
|
||||
|
||||
PYTHON_BASE_LIB_FILES:= \
|
||||
@@ -298,7 +287,6 @@ define Host/Compile
|
||||
endef
|
||||
|
||||
define Host/Install
|
||||
$(call Build/InstallMkFiles)
|
||||
$(MAKE) -C $(HOST_BUILD_DIR) install
|
||||
$(INSTALL_DIR) $(HOST_PYTHON_DIR)/bin/
|
||||
$(INSTALL_BIN) $(HOST_BUILD_DIR)/Parser/pgen $(HOST_PYTHON_DIR)/bin/pgen2
|
||||
|
||||
Reference in New Issue
Block a user