diff options
author | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-27 18:18:00 +0200 |
---|---|---|
committer | Abdoulaye Walsimou Gaye <awg@embtoolkit.org> | 2011-08-27 18:18:00 +0200 |
commit | f03be92c85ca82a78055f6ba24bc5a0fd8dbd210 (patch) | |
tree | 6bc2b71d927d99b106f55e2bec5f3084bd129d01 /mk | |
parent | 0c0634617de085448063924ef6c7a348a52025cf (diff) | |
download | embtoolkit-f03be92c85ca82a78055f6ba24bc5a0fd8dbd210.tar.gz embtoolkit-f03be92c85ca82a78055f6ba24bc5a0fd8dbd210.tar.bz2 embtoolkit-f03be92c85ca82a78055f6ba24bc5a0fd8dbd210.tar.xz |
Build system: generic macros: create pkgv to get lower case pacages variables
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
Diffstat (limited to 'mk')
-rw-r--r-- | mk/macros.mk | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mk/macros.mk b/mk/macros.mk index 37345bc..8a0574b 100644 --- a/mk/macros.mk +++ b/mk/macros.mk @@ -218,6 +218,7 @@ endef # Get passed package variables prefix and set some helpers macros. # PKGV = $(strip $(shell echo $(1) | tr a-z A-Z)) +pkgv = $(strip $(shell echo $(1) | tr A-Z a-z)) __embtk_pkg_name = $(strip $($(PKGV)_NAME)) __embtk_pkg_version = $(strip $($(PKGV)_VERSION)) __embtk_pkg_site = $(strip $($(PKGV)_SITE)) |