diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-03-16 19:01:32 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-03-16 19:01:32 +0000 |
commit | a84e98bd5f7310f6b9995fb0b5713c3b584e05e0 (patch) | |
tree | 4e0e2b96b0015cd186bcc8d6d0ece3a733451442 /Makefile | |
parent | 182b09e679dc74909740cf5c9a63f78dbe9656b2 (diff) | |
download | coreboot-a84e98bd5f7310f6b9995fb0b5713c3b584e05e0.tar.gz coreboot-a84e98bd5f7310f6b9995fb0b5713c3b584e05e0.tar.bz2 coreboot-a84e98bd5f7310f6b9995fb0b5713c3b584e05e0.zip |
Strip quotes from COREBOOT_ROM_DEPENDENCIES
Macro-ify stripping quotes
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5226 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -85,10 +85,12 @@ HOSTCC:=clang endif endif +strip_quotes = $(subst ",,$(subst \",,$(1))) + ARCHDIR-$(CONFIG_ARCH_X86) := i386 ARCHDIR-$(CONFIG_ARCH_POWERPC) := ppc -MAINBOARDDIR=$(subst ",,$(CONFIG_MAINBOARD_DIR)) +MAINBOARDDIR=$(call strip_quotes,$(CONFIG_MAINBOARD_DIR)) export MAINBOARDDIR PLATFORM-y += src/arch/$(ARCHDIR-y) src/cpu src/mainboard/$(MAINBOARDDIR) @@ -99,7 +101,7 @@ BUILD-y += util/cbfstool BUILD-$(CONFIG_ARCH_X86) += src/pc80 ifneq ($(CONFIG_LOCALVERSION),"") -COREBOOT_EXTRA_VERSION := -$(subst ",,$(CONFIG_LOCALVERSION)) +COREBOOT_EXTRA_VERSION := -$(call strip_quotes,$(CONFIG_LOCALVERSION)) endif # The primary target needs to be here before we include the |