diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-16 15:14:48 +0100 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2014-03-16 15:14:48 +0100 |
commit | 1bda611a7baae46f745f59073d2c00d1fd0bc39e (patch) | |
tree | 43c77db9c0deacac1119a0ba52ff0e4312a96bb8 /mk | |
parent | af199a0888383615ab524f85636d702c5767bca2 (diff) | |
download | embtoolkit-1bda611a7baae46f745f59073d2c00d1fd0bc39e.tar.gz embtoolkit-1bda611a7baae46f745f59073d2c00d1fd0bc39e.tar.bz2 embtoolkit-1bda611a7baae46f745f59073d2c00d1fd0bc39e.tar.xz |
Build system: fix __embtk_pkg_name to not include _host suffix
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/pkg-macros/vars.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/pkg-macros/vars.mk b/mk/pkg-macros/vars.mk index 0abe122..9f14ae3 100644 --- a/mk/pkg-macros/vars.mk +++ b/mk/pkg-macros/vars.mk @@ -41,7 +41,7 @@ embtk_host_uname := $(shell uname -s -r -p) # PKGV = $(call embtk_ucase,$(1)) pkgv = $(call embtk_lcase,$(1)) -__embtk_pkg_name = $(or $(strip $($(PKGV)_NAME)),$(pkgv)) +__embtk_pkg_name = $(or $(strip $($(PKGV)_NAME)),$(patsubst %_host,%,$(pkgv))) __embtk_pkg_needpatch = $(CONFIG_EMBTK_$(PKGV)_NEED_PATCH) __embtk_pkg_site = $(strip $($(PKGV)_SITE)) __embtk_patch_site = $(embtk_ftp) |