diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-04-22 11:54:18 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2012-04-22 11:54:18 +0200 |
commit | 394ae20e7f61a7237783f96a50629f5cd083c82d (patch) | |
tree | 6f01e0caa52e4d653331a3844549d905b7f53bb2 | |
parent | 9d095d181cb8fbf136ad6784021e6a9c6d6c4640 (diff) | |
download | embtoolkit-394ae20e7f61a7237783f96a50629f5cd083c82d.tar.gz embtoolkit-394ae20e7f61a7237783f96a50629f5cd083c82d.tar.bz2 embtoolkit-394ae20e7f61a7237783f96a50629f5cd083c82d.tar.xz |
Generic macros: give ability to define {PKGNAME}_SHARES
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r-- | mk/macros.packages.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mk/macros.packages.mk b/mk/macros.packages.mk index 3daff50..4b82c46 100644 --- a/mk/macros.packages.mk +++ b/mk/macros.packages.mk @@ -146,6 +146,7 @@ __embtk_pkg_includes = $(strip $($(PKGV)_INCLUDES)) __embtk_pkg_libs = $(strip $($(PKGV)_LIBS)) __embtk_pkg_libexecs = $(strip $($(PKGV)_LIBEXECS)) __embtk_pkg_pkgconfigs = $(strip $($(PKGV)_PKGCONFIGS)) +__embtk_pkg_shares = $(strip $($(PKGV)_SHARES)) __embtk_pkg_configureenv = $(strip $($(PKGV)_CONFIGURE_ENV)) __embtk_pkg_setrpath = $(strip $($(PKGV)_SET_RPATH)) @@ -666,6 +667,8 @@ define __embtk_cleanup_pkg rm -rf $(addprefix $(SYSROOT)/usr/libexec/,$(__embtk_pkg_libexecs))) $(if $(__embtk_pkg_pkgconfigs), rm -rf $(addprefix $(SYSROOT)/usr/$(LIBDIR)/pkgconfig/,$(__embtk_pkg_pkgconfigs))) + $(if $(__embtk_pkg_shares), + rm -rf $(addprefix $(SYSROOT)/usr/share/,$(__embtk_pkg_shares))) $(if $(__embtk_pkg_usegit)$(__embtk_pkg_usesvn), rm -rf $(__embtk_pkg_dotconfigured_f) rm -rf $(__embtk_pkg_dotinstalled_f), |