From 40d4acbf5b2643e2b78be04a7b06eb2dbbd38b1d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 20 Sep 2026 17:05:17 +0100 Subject: 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 --- mk | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mk') diff --git a/mk b/mk index 29900463..5adeae93 100755 --- a/mk +++ b/mk @@ -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() -- cgit v1.2.1