Fix abuild
authorStefan Reinauer <stefan.reinauer@coreboot.org>
Tue, 25 Jan 2011 19:27:23 +0000 (19:27 +0000)
committerStefan Reinauer <stepan@openbios.org>
Tue, 25 Jan 2011 19:27:23 +0000 (19:27 +0000)
thanks to Kevin who came up with this

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Acked-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6298 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

payloads/external/SeaBIOS/Makefile.inc

index faca57e56543ebf76ebc8150e6cfdf56f540ad15..8b44c6fb986d74ce305860fcb0300a6c706de828 100644 (file)
@@ -1,6 +1,6 @@
 
 
-TAG-$(CONFIG_SEABIOS_MASTER)=master
+TAG-$(CONFIG_SEABIOS_MASTER)=origin/master
 TAG-$(CONFIG_SEABIOS_STABLE)=rel-0.6.1.3
 
 all: seabios
@@ -18,9 +18,9 @@ patch: checkout
 
 checkout:
        echo "Checking out SeaBIOS $(TAG-y)"
-       test -d seabios && ( cd seabios; git pull ) || \
+       test -d seabios && ( cd seabios; git fetch ) || \
        git clone git://git.linuxtogo.org/home/kevin/seabios.git seabios
-       cd seabios; git checkout $(TAG-y)
+       cd seabios; git checkout -m $(TAG-y)
 
 clean:
        test -d seabios && (cd seabios; $(MAKE) CC="$(CC)" LD="$(LD)" clean) || exit 0