Fix abuild
[coreboot.git] / 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