diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-20 17:05:17 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-20 17:05:17 +0100 |
| commit | 40d4acbf5b2643e2b78be04a7b06eb2dbbd38b1d (patch) | |
| tree | 861956a639016817ab506dc21265ff7ce832da9a /mk | |
| parent | 324e46a87c299623f5c1ab34131637dfa56c7500 (diff) | |
don't build when tree=target on noconfig=n
only do if config=y. this reintroduces a hack that
i accidentally removed in the recent redesign.
grub has been changed to noconfig=y, and the files
for memdisk are now source from config/data/grub
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
| -rwxr-xr-x | mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -204,6 +204,10 @@ handle_target() [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && \ return 0 + # if using configs, we never build from the master target + [ "$noconfig" != "y" ] && [ "$tree" = "$target" ] && \ + return 0 + $if_build $if_not_fetch \ x_ $postmake; : } @@ -247,6 +251,9 @@ configure_target() delete_old_project_files [ ! -f "CHANGELOG" ] && x_ fetch_trees; : + + [ "$noconfig" != "y" ] && [ "$tree" = "$target" ] && \ + return 1; : } try_target_config() |
