1 TAG-
$(CONFIG_FILO_HEAD
)=origin/main
2 NAME-
$(CONFIG_FILO_HEAD
)=MAIN
3 TAG-
$(CONFIG_FILO_STABLE
)=c2fa1ea6125c63e84cdf7779c37d76da8c5bc412
4 NAME-
$(CONFIG_FILO_STABLE
)=STABLE
6 project_git_repo
=https
://review.coreboot.org
/filo.git
9 unexport KCONFIG_AUTOHEADER
10 unexport KCONFIG_AUTOCONFIG
11 unexport KCONFIG_DEPENDENCIES
12 unexport KCONFIG_SPLITCONFIG
13 unexport KCONFIG_TRISTATE
14 unexport KCONFIG_NEGATIVES
19 echo
" GIT FILO $(NAME-y)"
21 git clone
$(project_git_repo
) $(project_dir
)
23 git checkout main
&& \
24 git remote update
&& \
26 git branch
-f
$(NAME-y
) $(TAG-y
) && \
27 git checkout
$(NAME-y
)
30 echo
" CONFIG FILO $(NAME-y)"
31 $(MAKE
) -C filo defconfig LIBCONFIG_PATH
=..
/..
/..
/libpayload
32 # This shows how to force a previously unset .config option *on*
33 #echo "CONFIG_VGAHOOKS=y" >> filo/.config
34 # This shows how to force a previously set .config option *off*
35 #echo "# CONFIG_SMBIOS is not set" >> filo/.config
36 ifeq ($(CONFIG_FILO_USE_AUTOBOOT
),y
)
37 echo
"# CONFIG_USE_GRUB is not set" >> filo
/.config
38 echo
"CONFIG_USE_AUTOBOOT=y" >> filo
/.config
39 echo
'CONFIG_AUTOBOOT_FILE="$(CONFIG_FILO_AUTOBOOT_FILE)"' >> filo
/.config
40 echo
"CONFIG_AUTOBOOT_DELAY=$(CONFIG_FILO_AUTOBOOT_DELAY)" >> filo
/.config
43 $(MAKE
) -C filo oldconfig LIBCONFIG_PATH
=..
/..
/..
/libpayload
46 echo
" MAKE FILO $(NAME-y)"
47 $(MAKE
) -C filo LIBCONFIG_PATH
=..
/..
/..
/libpayload
50 cd ..
/..
/libpayload
&& $(MAKE
) defconfig
&& \
51 $(MAKE
) && $(MAKE
) DESTDIR
=..
/external
/FILO
/filo
/build
install
54 test -d filo
&& $(MAKE
) -C filo
clean LIBCONFIG_PATH
=..
/..
/..
/libpayload || exit
0
60 echo
"$(project_git_repo) $(project_dir)"
62 .PHONY
: checkout config filo
clean distclean print-repo-info