summaryrefslogtreecommitdiff
path: root/lang/python/python3
diff options
context:
space:
mode:
authorAlexandru Ardelean <ardeleanalex@gmail.com>2017-05-19 17:16:38 +0300
committerAlexandru Ardelean <ardeleanalex@gmail.com>2017-05-19 17:16:39 +0300
commitb9d88065f519583841602170a0f2827fb5ce02f3 (patch)
tree9cfa4c62177d2a01eb0c310ddb71f8812e540a76 /lang/python/python3
parent675585a66f48d53b8f1f7308f19d606a5664f3a7 (diff)
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>
Diffstat (limited to 'lang/python/python3')
-rw-r--r--lang/python/python3/files/python3-package.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/lang/python/python3/files/python3-package.mk b/lang/python/python3/files/python3-package.mk
index a28689aba..36a030c02 100644
--- a/lang/python/python3/files/python3-package.mk
+++ b/lang/python/python3/files/python3-package.mk
@@ -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)