[jhalfs] 05/06: Fix Makefile conditionals
"Git Owner" ([email protected] via alfs-discuss Mailing List) <[email protected]> Sat, 20 Dec 2025 22:23:22 +0000
| Newsgroups | gmane.linux.lfs.automated |
|---|---|
| Message-ID | <[email protected]> |
This is a multi-part message in MIME format... ------------=_1766269417-11324-51268 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository jhalfs. commit 8a92402a693138d0b7505dcd578f14c1db6e719b Author: Pierre Labastie <[email protected]> AuthorDate: Sat Dec 20 23:20:59 2025 +0100 Fix Makefile conditionals ifeq doesn't support spaces around fields... --- LFS/master.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/LFS/master.sh b/LFS/master.sh index ce598c1..bbf5061 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -303,10 +303,10 @@ EOF .NOTPARALLEL: all: ck_UID ck_terminal ck_mountpoint mk_SETUP mk_LUSER mk_SUDO mk_CHROOT mk_BOOT create-sbu_du-report -ifeq ( \$(ADD_BLFS_TOOLS), y ) +ifeq (\$(ADD_BLFS_TOOLS),y) all: mk_BLFS_TOOL endif -ifeq ( \$(ADD_CUSTOM_TOOLS), y ) +ifeq (\$(ADD_CUSTOM_TOOLS),y) all: mk_CUSTOM_TOOLS endif all: @@ -394,14 +394,14 @@ mk_BOOT: mk_CHROOT | devices @( sudo \$(CHROOT1) -c "cd \$(SCRIPT_ROOT) && make BREAKPOINT=\$(BREAKPOINT) BOOT") @touch \$@ -ifeq ( \$(ADD_BLFS_TOOLS), y ) +ifeq (\$(ADD_BLFS_TOOLS),y) mk_BLFS_TOOL: create-sbu_du-report | devices @\$(call sh_echo_PHASE,Building BLFS_TOOL) @sudo \$(CHROOT1) -c "make -C $BLFS_ROOT/work" @touch \$@ endif -ifeq ( \$(ADD_CUSTOM_TOOLS), y ) -ifeq ( \$(ADD_BLFS_TOOLS), y ) +ifeq (\$(ADD_CUSTOM_TOOLS),y) +ifeq (\$(ADD_BLFS_TOOLS),y) mk_CUSTOM_TOOLS: mk_BLFS_TOOL | devices else mk_CUSTOM_TOOLS: create-sbu_du-report | devices -- To stop receiving notification emails like this one, please contact the administrator of this repository. ------------=_1766269417-11324-51268 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- http://lists.linuxfromscratch.org/sympa/info/alfs-discuss Unsubscribe: See the above information page ------------=_1766269417-11324-51268--