1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-17 21:03:56 +02:00

python,python3: allow python packages to override Package/<pkg>/install rule

Python packages try to enforce their own.
For some cases this may not be desired.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean 2017-05-19 17:16:38 +03:00
parent 675585a66f
commit b9d88065f5
2 changed files with 4 additions and 0 deletions

View File

@ -61,6 +61,7 @@ define PyPackage
endef
endif
ifndef Package/$(1)/install
$(call shexport,PyPackage/$(1)/filespec)
define Package/$(1)/install
@ -85,6 +86,7 @@ define PyPackage
define Package/$(1)-src/install
$$(call Package/$(1)/install,$$(1),sources)
endef
endif # Package/$(1)/install
endef
$(call include_mk, python-host.mk)

View File

@ -61,6 +61,7 @@ define Py3Package
endef
endif
ifndef Package/$(1)/install
$(call shexport,Py3Package/$(1)/filespec)
define Package/$(1)/install
@ -85,6 +86,7 @@ define Py3Package
define Package/$(1)-src/install
$$(call Package/$(1)/install,$$(1),sources)
endef
endif # Package/$(1)/install
endef
$(call include_mk, python3-host.mk)