From f03be92c85ca82a78055f6ba24bc5a0fd8dbd210 Mon Sep 17 00:00:00 2001 From: Abdoulaye Walsimou Gaye Date: Sat, 27 Aug 2011 18:18:00 +0200 Subject: Build system: generic macros: create pkgv to get lower case pacages variables Signed-off-by: Abdoulaye Walsimou Gaye --- mk/macros.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'mk') 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)) -- cgit v1.2.3