summaryrefslogtreecommitdiff
path: root/mk/macros.packages.mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-01-09 22:41:44 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-01-09 22:41:44 +0100
commit79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3 (patch)
tree90e73c6dfd8aefb78ea9200040f929f8f17790fd /mk/macros.packages.mk
parentab3926fddbc685175fded7a28f0472b9d47d571f (diff)
downloadembtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.gz
embtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.bz2
embtoolkit-79e97a6757fe46c9ceaeacb6d29b8db9b2cbe8f3.tar.xz
Packages: optimize use of embtk_postinstallx_{pkgname}
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/macros.packages.mk')
-rw-r--r--mk/macros.packages.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk
index 5a4351e..4dc2b2f 100644
--- a/mk/macros.packages.mk
+++ b/mk/macros.packages.mk
@@ -552,7 +552,7 @@ __embtk_xinstall_xpkg_allvarset-y = $(and $(__embtk_pkg_name), \
# $(call embtk_install_pkg,package)
#
define __embtk_install_pkg
- $(if $(__embtk_pkg_installed-y),true,
+ $(if $(__embtk_pkg_installed-y),,
$(Q)mkdir -p $(__embtk_pkg_builddir)
$(Q)$(call __embtk_install_pkg_make,$(1),autotools)
$(embtk_postinstallonce_$(pkgv))
@@ -575,7 +575,7 @@ endef
#
define embtk_makeinstall_pkg
$(if $(__embtk_xinstall_xpkg_allvarset-y),
- $(if $(__embtk_pkg_installed-y),true,
+ $(if $(__embtk_pkg_installed-y),,
$(Q)mkdir -p $(__embtk_pkg_builddir)
$(Q)$(call __embtk_install_pkg_make,$(1))
$(embtk_postinstallonce_$(pkgv))
@@ -592,7 +592,7 @@ endef
#
define __embtk_install_hostpkg
- $(if $(__embtk_pkg_installed-y),true,
+ $(if $(__embtk_pkg_installed-y),,
$(Q)mkdir -p $(__embtk_pkg_builddir)
$(Q)$(call __embtk_install_hostpkg_make,$(1),autotools)
$(embtk_postinstallonce_$(pkgv))
@@ -613,7 +613,7 @@ endef
#
define embtk_makeinstall_hostpkg
$(if $(__embtk_xinstall_xpkg_allvarset-y),
- $(if $(__embtk_pkg_installed-y),true,
+ $(if $(__embtk_pkg_installed-y),,
$(Q)mkdir -p $(__embtk_pkg_builddir)
$(Q)$(call __embtk_install_hostpkg_make,$(1))
$(embtk_postinstallonce_$(pkgv))