Patchwork New patch to review: d138cb2 Drop 'git fetch' when building seabios so that coreboot could compile without an Internet connection

login
register
about
Submitter gerrit@coreboot.org
Date 2011-06-07 13:05:11
Message ID <E1QTvy3-0005tE-9S@ra.coresystems.de>
Download mbox | patch
Permalink /patch/3069/
State New, archived
Headers show

Comments

gerrit@coreboot.org - 2011-06-07 13:05:11
Dear list,

Cristian Măgherușan-Stanciu (cristi.magherusan@gmail.com) just uploaded a new patch set to gerrit, which you can find at
http://review.coreboot.org/11.

You will also find it attached for your convenience.

Regards,
gerrit

Patch

commit d138cb2a592f0694d9f8c71df65f8421d9562eca
Author: Cristian Măgherușan-Stanciu <cristi.magherusan@gmail.com>
Date:   Tue Jun 7 15:03:14 2011 +0200

    Drop 'git fetch' when building seabios so that coreboot could compile without an Internet connection
    
    Change-Id: I969471e44e417f127fdc8744e868211500acee3e
    Signed-off-by: Cristian Măgherușan-Stanciu <cristi.magherusan@gmail.com>

diff --git a/payloads/external/SeaBIOS/Makefile.inc b/payloads/external/SeaBIOS/Makefile.inc
index f702de6..5f8e7ca 100644
--- a/payloads/external/SeaBIOS/Makefile.inc
+++ b/payloads/external/SeaBIOS/Makefile.inc
@@ -5,12 +5,14 @@  TAG-$(CONFIG_SEABIOS_STABLE)=1efb10b9ea30c45a8c9c6230234fefa10d2886ed
 
 unexport KCONFIG_AUTOCONFIG
 
-all: seabios
+all: build
 
-checkout:
-	echo "    GIT        SeaBIOS $(TAG-y)"
-	test -d seabios && ( cd seabios; git fetch ) || \
-		git clone git://git.seabios.org/seabios.git
+seabios:
+	echo "    Cloning SeaBIOS from Git"
+	git clone git://git.seabios.org/seabios.git
+
+checkout: seabios
+	echo "    Checking out SeaBIOS revision $(TAG-y)"
 	cd seabios; git checkout master; git branch -D coreboot 2>/dev/null; git checkout -b coreboot $(TAG-y)
 
 config: checkout
@@ -25,7 +27,7 @@  config: checkout
 	# This shows how to force a previously set .config option *off*
 	#echo "# CONFIG_SMBIOS is not set" >> seabios/.config
 
-seabios: config
+build: config
 	echo "    MAKE       SeaBIOS $(TAG-y)"
 	$(MAKE) -C seabios
 
@@ -35,4 +37,4 @@  clean:
 distclean:
 	rm -rf seabios
 
-.PHONY: checkout config seabios clean distclean
+.PHONY: checkout config build clean distclean clone