2014-01-10 20:30:16 +01:00
|
|
|
TAG-$(CONFIG_FILO_MASTER)=origin/master
|
|
|
|
NAME-$(CONFIG_FILO_MASTER)=MASTER
|
2011-10-21 17:40:42 +02:00
|
|
|
TAG-$(CONFIG_FILO_STABLE)=4dbb31a64fe5b1c7e3025ab34619220609897646
|
2011-04-15 05:34:05 +02:00
|
|
|
NAME-$(CONFIG_FILO_STABLE)=STABLE
|
|
|
|
|
|
|
|
unexport KCONFIG_AUTOCONFIG
|
|
|
|
|
|
|
|
all: filo
|
|
|
|
|
|
|
|
checkout:
|
2011-10-21 17:40:42 +02:00
|
|
|
echo " GIT FILO $(NAME-y)"
|
2011-04-15 05:34:05 +02:00
|
|
|
test -d filo || \
|
2011-10-21 17:40:42 +02:00
|
|
|
git clone http://review.coreboot.org/p/filo.git
|
|
|
|
cd filo && \
|
|
|
|
git checkout master && \
|
2014-01-10 20:30:16 +01:00
|
|
|
git remote update && \
|
2011-10-21 17:40:42 +02:00
|
|
|
test -n $(TAG-y) && \
|
|
|
|
git branch -f $(NAME-y) $(TAG-y) && \
|
|
|
|
git checkout $(NAME-y)
|
2011-04-15 05:34:05 +02:00
|
|
|
|
|
|
|
config: libpayload
|
|
|
|
echo " CONFIG FILO $(NAME-y)"
|
2011-10-21 22:01:32 +02:00
|
|
|
$(MAKE) -C filo defconfig LIBCONFIG_PATH=../../../libpayload
|
2014-01-10 20:30:16 +01:00
|
|
|
# This shows how to force a previously unset .config option *on*
|
|
|
|
#echo "CONFIG_VGAHOOKS=y" >> filo/.config
|
2011-04-15 05:34:05 +02:00
|
|
|
# This shows how to force a previously set .config option *off*
|
|
|
|
#echo "# CONFIG_SMBIOS is not set" >> filo/.config
|
2014-01-10 20:30:16 +01:00
|
|
|
$(MAKE) -C filo oldconfig LIBCONFIG_PATH=../../../libpayload
|
2011-04-15 05:34:05 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|