diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-08 22:36:38 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-08 22:38:13 +0100 |
commit | 41162c08f275e2a8cf429aa66081255d2dbd459e (patch) | |
tree | dc3fb9a91b63267f467f10eebc4fbfb6890a4973 /mk/uclibc.mk | |
parent | e10a8effd088457c7e5fa1183d8432abe930542b (diff) | |
download | embtoolkit-41162c08f275e2a8cf429aa66081255d2dbd459e.tar.gz embtoolkit-41162c08f275e2a8cf429aa66081255d2dbd459e.tar.bz2 embtoolkit-41162c08f275e2a8cf429aa66081255d2dbd459e.tar.xz |
Build system: internal macros: rework __embtk_pkg_installed-y for correctness and performance improvement
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk/uclibc.mk')
-rwxr-xr-x | mk/uclibc.mk | 6 |
1 files changed, 3 insertions, 3 deletions
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 # |