mb/google/brya/var/orisa: Update Type C DisplayPort HPD Configuration
[coreboot2.git] / payloads / external / FILO / Makefile
bloba74752757f94e4174b60730cd120b19cfa9df55b
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
7 project_dir=filo
9 unexport KCONFIG_AUTOHEADER
10 unexport KCONFIG_AUTOCONFIG
11 unexport KCONFIG_DEPENDENCIES
12 unexport KCONFIG_SPLITCONFIG
13 unexport KCONFIG_TRISTATE
14 unexport KCONFIG_NEGATIVES
16 all: filo
18 checkout:
19 echo " GIT FILO $(NAME-y)"
20 test -d filo || \
21 git clone $(project_git_repo) $(project_dir)
22 cd filo && \
23 git checkout main && \
24 git remote update && \
25 test -n $(TAG-y) && \
26 git branch -f $(NAME-y) $(TAG-y) && \
27 git checkout $(NAME-y)
29 config: libpayload
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
41 endif
43 $(MAKE) -C filo oldconfig LIBCONFIG_PATH=../../../libpayload
45 filo: config
46 echo " MAKE FILO $(NAME-y)"
47 $(MAKE) -C filo LIBCONFIG_PATH=../../../libpayload
49 libpayload: checkout
50 cd ../../libpayload && $(MAKE) defconfig && \
51 $(MAKE) && $(MAKE) DESTDIR=../external/FILO/filo/build install
53 clean:
54 test -d filo && $(MAKE) -C filo clean LIBCONFIG_PATH=../../../libpayload || exit 0
56 distclean:
57 rm -rf filo
59 print-repo-info:
60 echo "$(project_git_repo) $(project_dir)"
62 .PHONY: checkout config filo clean distclean print-repo-info