From 41162c08f275e2a8cf429aa66081255d2dbd459e Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 8 Mar 2014 22:36:38 +0100 Subject: Build system: internal macros: rework __embtk_pkg_installed-y for correctness and performance improvement Signed-off-by: Abdoulaye Walsimou Gaye --- mk/uclibc.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mk/uclibc.mk') diff --git a/mk/uclibc.mk b/mk/uclibc.mk index 8dd7a75..2aa63ab 100755 --- a/mk/uclibc.mk +++ b/mk/uclibc.mk @@ -1,6 +1,6 @@ ################################################################################ # Embtoolkit -# Copyright(C) 2009-2011 Abdoulaye Walsimou GAYE. +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -105,11 +105,11 @@ define __embtk_install_uclibc_headers $(MAKE) -C $(UCLIBC_BUILD_DIR) $(UCLIBC_MAKE_OPTS) install_startfiles $(__embtk_install_uclibc_dummy) $(call __embtk_setinstalled_pkg,uclibc_headers) + $(eval __embtk_uclibc_headers_installed := y) endef define embtk_install_uclibc_headers - $(if $(call __embtk_pkg_installed-y,uclubc_headers),, - $(__embtk_install_uclibc_headers)) + $(if $(call __embtk_pkg_runrecipe-y,uclubc_headers),$(__embtk_install_uclibc_headers)) endef # -- cgit v1.2.3