summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-06-17 15:35:10 +0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2012-06-17 15:35:10 +0200
commit5414c45b142ddcbc9c7bc6be981d7e323daebdd8 (patch)
tree01d138e65f084f68788b7ee7b3a90496b5d0baa5 /mk
parentb203791c5673a80e1a606df0fb314898cd35c990 (diff)
downloadembtoolkit-5414c45b142ddcbc9c7bc6be981d7e323daebdd8.tar.gz
embtoolkit-5414c45b142ddcbc9c7bc6be981d7e323daebdd8.tar.bz2
embtoolkit-5414c45b142ddcbc9c7bc6be981d7e323daebdd8.tar.xz
Internal macros: simplify test of embtk_postinstall_{pkgname} installation
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r--mk/macros.packages.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk
index d3a3018..145fd52 100644
--- a/mk/macros.packages.mk
+++ b/mk/macros.packages.mk
@@ -482,7 +482,7 @@ define embtk_makeinstall_hostpkg
$(if $(__embtk_xinstall_xpkg_allvarset-y),
$(if $(__embtk_pkg_installed-y),true,
$(call __embtk_install_hostpkg_make,$(1)))
- $(if $(embtk_postinstall_$(pkgv)),$(embtk_postinstall_$(pkgv))),
+ $(or $(embtk_postinstall_$(pkgv)),true),
$(call __embtk_install_paramsfailure,$(1)))
endef