1 project_git_repo
=https
://gitlab.com
/bztsrc
/bootboot.git
3 ifeq ($(CONFIG_ARCH_ARM64
),y
)
4 loader_dir
=$(project_dir
)/aarch64-cb
6 loader_dir
=$(project_dir
)/x86_64-cb
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 BOOTBOOT $(loader_dir)"
20 test -L
$(project_dir
) ||
test -d
$(project_dir
) || \
21 git clone
$(project_git_repo
) $(project_dir
)
24 echo
" MAKE $(loader_dir)"
25 $(MAKE
) -C
$(loader_dir
) LIBCONFIG_PATH
=..
/..
/..
/libpayload
28 cp
$(loader_dir
)/lib.config ..
/..
/libpayload
/.config
29 cd ..
/..
/libpayload
&& $(MAKE
) oldconfig
&& \
30 $(MAKE
) && $(MAKE
) DESTDIR
=..
/external
/BOOTBOOT
/$(loader_dir
) install
33 test -d
$(loader_dir
) && $(MAKE
) -C
$(loader_dir
) clean || exit
0
39 echo
"$(project_git_repo) $(project_dir)"
41 .PHONY
: checkout bootboot libpayload
clean distclean print-repo-info