lbmk/config
Leah Rowe 459db1cc2e trees: remove project-specific hacks
move the coreboot-specific includes into mkhelper.cfg
for that project.

on some projects, we need variables from mkhelper.cfg
to be global, so I was including serprog and coreboot
mkhelper.cfg files in this script.

instead, set a new variable "mkhelpercfg" pointing to
the config file. if it doesn't exist, create and then
point to a temporary (empty) mkhelper.cfg file.

the rom.sh include has been moved to coreboot mkhelper.cfg

The only remaining project-specific logic, in this trees
script, is now the coreboot crossgcc handling, but this
needs to be there as it's also used to build U-Boot.

The way this now works, certain includes are done twice.
For example, include/rom.sh will be included once globally,
outside of main(), and then again in configure_project().

This means that certain functions will be defined twice.
I'm uncertain if shell has anything equivalent to an ifdef
guard as in C, but we actually want this here anyway, and
it shouldn't cause any problems. It's a bit of a hack, but
otherwise results in much cleaner code.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-07-10 13:41:15 +01:00
..
coreboot coreboot: set build_depend on target.cfg files 2024-07-06 11:34:27 +01:00
data trees: remove project-specific hacks 2024-07-10 13:41:15 +01:00
dependencies Add dependency scripts for Fedora 40 and Ubuntu 24.04 2024-06-07 13:02:40 -05:00
flashprog/patches flashprog: bump to 5b4fdd1 from 2 May 2024 2024-05-26 20:30:45 +01:00
git lib.sh: more unified config handling 2024-06-22 13:44:27 +01:00
grub GRUB: use mkhelper.cfg for common variables 2024-07-01 03:32:35 +01:00
ifd config/ifd/dell_ivybridge: Add ifd_nogbe 2024-02-20 17:04:39 -07:00
memtest86plus/patches disable 32-bit memtest86plus, only build 64-bit 2023-10-09 06:06:20 +01:00
seabios/default handle build.list from config/data/, not config/ 2024-06-06 02:35:36 +01:00
submodule Libreboot 20240612 release 2024-06-12 08:43:33 +01:00
u-boot handle build.list from config/data/, not config/ 2024-06-06 02:35:36 +01:00
uefitool trees: avoid kconfig make commands generically 2024-06-27 15:55:56 +01:00
vendor lib.sh: more unified config handling 2024-06-22 13:44:27 +01:00