diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-05 13:55:28 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2009-10-05 13:55:28 +0000 |
commit | c04be9322cd69b3340d78db84b7663848170fe94 (patch) | |
tree | 5819319c2ef42fcd2cddf97081b4c47c72467550 /Makefile | |
parent | ba6a93ddcb17b1e05480b57c1a47f8dc7084c355 (diff) | |
download | coreboot-c04be9322cd69b3340d78db84b7663848170fe94.tar.xz |
Backport facility to specify a local coreboot version suffix from v3.
Tested on QEMU.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4726 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -93,6 +93,10 @@ BUILD-y := src/lib src/boot src/console src/devices src/southbridge src/northbri BUILD-y += util/cbfstool BUILD-$(CONFIG_ARCH_X86) += src/pc80 +ifneq ($(CONFIG_LOCALVERSION),"") +COREBOOT_EXTRA_VERSION := -$(shell echo $(CONFIG_LOCALVERSION)) +endif + # The primary target needs to be here before we include the # other files @@ -241,7 +245,7 @@ STACKPROTECT += $(call cc-option, -fno-stack-protector,) CFLAGS = $(STACKPROTECT) $(INCLUDES) -Os -nostdinc CFLAGS += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -CFLAGS +=-Wwrite-strings -Wredundant-decls -Wno-trigraphs +CFLAGS += -Wwrite-strings -Wredundant-decls -Wno-trigraphs CFLAGS += -Wstrict-aliasing -Wshadow CFLAGS += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer |