cbmk/config
Leah Rowe 4dbce8aef0 trees: support -d (dry run) for custom build logic
-d does the same as -b, except for actually building
anything! in effect, it does the same as -f (fetch)
except that the resulting variable assignments will
not be recursive (as with -f).

if -d is passed, configuration is still loaded, defconfig
files are still cycled through, and more importantly:

helper functions are still processed.

the grub, serprog and coreboot helper functions have
been modified to return early (zero status) if -d is
passed.

example usage:

./update trees -d coreboot x230_12mb

this would download the files, NOT build coreboot, and
NOT build the payloads.

there is one additional benefit to doing it this way:

the utils command has been removed, e.g.
./update trees -b coreboot utils default

the equivalent is now:
./update trees -d coreboot default

the overall effect of this change is that the trees script
no longer contains any project-specific logic, except for
the crossgcc build logic.

it does include some config/data mkhelper files at the top,
for serprog and coreboot, so that those variables defined in
those files can be global, but another solution to mitigate
that will also be implemented in a future commit.

the purpose of this and other revisions (in the final push
to complete lbmk audit 6 / cbmk audit 2) is to generalise as
much logic as possible, removing various ugly hacks.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2024-07-12 16:34:46 +01:00
..
coreboot coreboot: set build_depend on target.cfg files 2024-07-08 01:34:52 +01:00
data trees: support -d (dry run) for custom build logic 2024-07-12 16:34:46 +01:00
dependencies Add dependency scripts for Fedora 40 and Ubuntu 24.04 2024-06-09 07:44:45 +01:00
flashprog/patches flashprog: bump to 5b4fdd1 from 2 May 2024 2024-05-26 20:39:31 +01:00
git remove unused git modules 2024-06-23 11:49:42 +01:00
grub GRUB: use mkhelper.cfg for common variables 2024-07-01 03:36:10 +01:00
ifd/ich9m rebase cbmk 9429287 per lbmk c4d90087..f5b04fa5 2024-01-02 11:55:45 +00:00
memtest86plus/patches Canoeboot 20231026 release 2023-10-27 08:21:04 +01:00
pico-sdk rename nukeblobs to a more generic name 2024-05-26 09:33:27 +01:00
seabios/default handle build.list from config/data/, not config/ 2024-06-07 17:27:45 +01:00
stm32-vserprog/patches Canoeboot 20231026 release 2023-10-27 08:21:04 +01:00
submodule Canoeboot 20240612 release 2024-06-12 10:38:51 +01:00
u-boot minor code cleanup in the build system 2024-06-09 19:18:41 +01:00