summaryrefslogtreecommitdiff
path: root/payloads/external
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2011-04-15 03:34:05 +0000
committerStefan Reinauer <stepan@openbios.org>2011-04-15 03:34:05 +0000
commite50952f53294b3939f851c0feacaf13e31bc5a44 (patch)
tree05bd36704b36297905c13e04620e841149560af7 /payloads/external
parentd85400d80548d8db8dd604d959fe858d33ca39be (diff)
downloadcoreboot-e50952f53294b3939f851c0feacaf13e31bc5a44.tar.xz
add FILO easy payload option
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@6504 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/external')
-rw-r--r--payloads/external/FILO/Makefile.inc43
1 files changed, 43 insertions, 0 deletions
diff --git a/payloads/external/FILO/Makefile.inc b/payloads/external/FILO/Makefile.inc
new file mode 100644
index 0000000000..0641c317b2
--- /dev/null
+++ b/payloads/external/FILO/Makefile.inc
@@ -0,0 +1,43 @@
+TAG-$(CONFIG_FILO_MASTER)=
+NAME-$(CONFIG_FILO_MASTER)=HEAD
+TAG-$(CONFIG_FILO_STABLE)=-r 139
+NAME-$(CONFIG_FILO_STABLE)=STABLE
+
+unexport KCONFIG_AUTOCONFIG
+
+all: filo
+
+checkout:
+ echo " SVN FILO $(NAME-y)"
+ test -d filo || \
+ svn co svn://coreboot.org/filo/trunk/filo $(TAG-y)
+ cd filo; svn update $(TAG-y)
+
+config: libpayload
+ echo " CONFIG FILO $(NAME-y)"
+ $(MAKE) -C filo defconfig
+ echo "CONFIG_COREBOOT=y" >> filo/.config
+ echo "CONFIG_DEBUG_SERIAL=y" >> filo/.config
+ echo "CONFIG_COREBOOT_FLASH=y" >> filo/.config
+ echo "CONFIG_LZMA=y" >> filo/.config
+ echo "CONFIG_FLASH_FLOPPY=y" >> filo/.config
+ echo "CONFIG_VGAHOOKS=y" >> filo/.config
+ # This shows how to force a previously set .config option *off*
+ #echo "# CONFIG_SMBIOS is not set" >> filo/.config
+
+filo: config
+ echo " MAKE FILO $(NAME-y)"
+ $(MAKE) -C filo
+
+libpayload: checkout
+ cd ../../libpayload && $(MAKE) defconfig && \
+ $(MAKE) && $(MAKE) DESTDIR=../external/FILO/filo/build install
+
+clean:
+ test -d filo && $(MAKE) -C filo clean || exit 0
+
+distclean:
+ rm -rf filo
+
+.PHONY: checkout config filo clean distclean
+