Re: linux/Makefile: CONFIG_SHELL and SHELL

pacman (pacman-kernel@cqc.com)
Fri, 28 Aug 1998 14:38:38 -0500 (EST)


While we're on the subject, arch/i386/boot/Makefile and
arch/i386/boot/compressd/Makefile don't work with a real sh either.

zImage: $(CONFIGURE) bootsect setup compressed/vmlinux tools/build
ifdef CONFIG_KERNEL_ELF
if hash $(ENCAPS) 2> /dev/null; then \
^^^^

I don't have a "hash" command in my /bin/sh. I have to put SHELL=bash in
those makefiles to make them run. The suggestion to set SHELL=$(CONFIG_SHELL)
at the top level would probably help here too.

(By the way, I think brace-expansion is required for POSIX sh, and I see that
redhat's ash has the "hash" command. Those of us fighting against shell bloat
may be losing the war...)

-- 
Alan Curry

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html