2010-12-30 18:39:50 +01:00
|
|
|
|
|
|
|
|
2011-01-25 20:27:23 +01:00
|
|
|
TAG-$(CONFIG_SEABIOS_MASTER)=origin/master
|
2011-02-07 21:16:40 +01:00
|
|
|
TAG-$(CONFIG_SEABIOS_STABLE)=1efb10b9ea30c45a8c9c6230234fefa10d2886ed
|
2010-12-30 18:39:50 +01:00
|
|
|
|
2011-02-07 21:16:40 +01:00
|
|
|
unexport KCONFIG_AUTOCONFIG
|
2010-12-30 18:39:50 +01:00
|
|
|
|
2011-02-07 21:16:40 +01:00
|
|
|
all: seabios
|
2010-12-30 18:39:50 +01:00
|
|
|
|
|
|
|
checkout:
|
2011-02-07 21:16:40 +01:00
|
|
|
echo " GIT SeaBIOS $(TAG-y)"
|
2011-01-25 20:27:23 +01:00
|
|
|
test -d seabios && ( cd seabios; git fetch ) || \
|
2011-02-07 21:16:40 +01:00
|
|
|
git clone git://git.linuxtogo.org/home/kevin/seabios.git
|
|
|
|
cd seabios; git checkout master; git branch -D coreboot 2>/dev/null; git checkout -b coreboot $(TAG-y)
|
|
|
|
|
|
|
|
config: checkout
|
|
|
|
echo " CONFIG SeaBIOS $(TAG-y)"
|
|
|
|
$(MAKE) -C seabios defconfig
|
|
|
|
echo "CONFIG_COREBOOT=y" >> seabios/.config
|
|
|
|
echo "CONFIG_DEBUG_SERIAL=y" >> seabios/.config
|
|
|
|
echo "CONFIG_COREBOOT_FLASH=y" >> seabios/.config
|
|
|
|
echo "CONFIG_LZMA=y" >> seabios/.config
|
|
|
|
echo "CONFIG_FLASH_FLOPPY=y" >> seabios/.config
|
|
|
|
echo "CONFIG_VGAHOOKS=y" >> seabios/.config
|
|
|
|
# This shows how to force a previously set .config option *off*
|
|
|
|
#echo "# CONFIG_SMBIOS is not set" >> seabios/.config
|
|
|
|
|
|
|
|
seabios: config
|
|
|
|
echo " MAKE SeaBIOS $(TAG-y)"
|
|
|
|
$(MAKE) -C seabios
|
2010-12-30 18:39:50 +01:00
|
|
|
|
|
|
|
clean:
|
2011-02-07 21:16:40 +01:00
|
|
|
test -d seabios && $(MAKE) -C seabios clean || exit 0
|
2010-12-30 18:39:50 +01:00
|
|
|
|
|
|
|
distclean:
|
|
|
|
rm -rf seabios
|
|
|
|
|
2011-02-07 21:16:40 +01:00
|
|
|
.PHONY: checkout config seabios clean distclean
|