coreboot-kgpe-d16/payloads/external/SeaBIOS/Makefile.inc
Kevin O'Connor 4f81e198ae Clone a tag rather than SeaBIOS stable branch HEAD
Use a tag (rel-0.6.1.3) for SeaBIOS stable checkouts instead of the
stable branch.  The tag is a little safer because it prevents an
incorrect commit to the stable branch from being immiediately picked
up by coreboot users.

Note - rel-0.6.1.3 (and 0.6.1-stable) now have the CFLAGS build fix
that was causing build failures for coreboot users.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Acked-by: Peter Stuge <peter@stuge.se>


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6292 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2011-01-23 06:47:09 +00:00

31 lines
794 B
Makefile

TAG-$(CONFIG_SEABIOS_MASTER)=master
TAG-$(CONFIG_SEABIOS_STABLE)=rel-0.6.1.3
all: seabios
seabios: patch
cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)"
patch: checkout
test -r seabios/.patched || \
perl -pi -e "s,#define CONFIG_COREBOOT 0,#define CONFIG_COREBOOT 1,;" \
-e "s,#define CONFIG_DEBUG_SERIAL 0,#define CONFIG_DEBUG_SERIAL 1,;" \
-e "s,#define CONFIG_VGAHOOKS 0,#define CONFIG_VGAHOOKS 1,;" \
seabios/src/config.h
touch seabios/.patched
checkout:
echo "Checking out SeaBIOS $(TAG-y)"
test -d seabios && ( cd seabios; git pull ) || \
git clone git://git.linuxtogo.org/home/kevin/seabios.git seabios
cd seabios; git checkout $(TAG-y)
clean:
test -d seabios && (cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)" clean) || exit 0
distclean:
rm -rf seabios
.PHONY: seabios