diff options
author | Stefan Reinauer <stepan@coreboot.org> | 2010-12-30 17:39:50 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-12-30 17:39:50 +0000 |
commit | f1939bb29b15cb68e90c68ceda86d8d9ad20e746 (patch) | |
tree | a9bd473bf183e23d4ce3361424b0981afeb8a415 /payloads/external/SeaBIOS | |
parent | d7ce71d58f7dc2bdc9c0dd8eb7b804f0194071fa (diff) | |
download | coreboot-f1939bb29b15cb68e90c68ceda86d8d9ad20e746.tar.xz |
Per default, use SeaBIOS payload instead of no payload.
Add choice to use stable or master version of seabios repository
Signed-off-by: Stefan Reinauer <stepan@coreboot.org>
Acked-by: Stefan Reinauer <stepan@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6223 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/external/SeaBIOS')
-rw-r--r-- | payloads/external/SeaBIOS/Makefile.inc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc new file mode 100644 index 0000000000..120e796e41 --- /dev/null +++ b/payloads/external/SeaBIOS/Makefile.inc @@ -0,0 +1,31 @@ + + +TAG-$(CONFIG_SEABIOS_MASTER)=master +TAG-$(CONFIG_SEABIOS_STABLE)=0.6.1-stable + +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 |