Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbXBIVdT (ORCPT ); Fri, 9 Feb 2007 16:33:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752525AbXBIVdT (ORCPT ); Fri, 9 Feb 2007 16:33:19 -0500 Received: from raven.upol.cz ([158.194.120.4]:46266 "EHLO raven.upol.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752524AbXBIVdS (ORCPT ); Fri, 9 Feb 2007 16:33:18 -0500 Date: Fri, 9 Feb 2007 22:42:03 +0100 To: Roman Zippel Cc: Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: The who needs reviews anyways [PATCH] Message-ID: <20070209214203.GE28386@flower.upol.cz> References: <20070209052245.GC28386@flower.upol.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Palacky University in Olomouc, experimental physics department. User-Agent: Mutt/1.5.13 (2006-08-11) From: Oleg Verych Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1729 Lines: 46 On Fri, Feb 09, 2007 at 12:35:04PM +0100, Roman Zippel wrote: [] > > > +$(error bash is required to build the kernel) > > > +endif > > > +SHELL := $(CONFIG_SHELL) > > > > here is policy to have `bash' introduced, so due to original > > issue, where `root' users ended with removed /dev/null, may policy to have > > `non root' user to build kernel be added? Thus > > I doubt gentoo user will like you for that and above is more a de facto > requirement that bash is needed for kbuild. The alternative is to > introduce a new policy that everything is POSIX clean. Bad thing is, that `man bash' has no clean line between `sh' and bash-specific features. POSIX it or `common practice' doesn't matter, one just must try to test shell scripts with `busybox' or any other `sh' compatible shell. > > this: > > > + rm -f "$$TMP") > > > > may be removed, and to make TMP=/dev/null? And to forget currently about > > my silly symlinks, and this crappy sets of output files? > > This still wouldn't work, as these tests are also done when running 'make > install'. and/or "make modules_install", and this must be fixed: to have only one configuration-run. And then to use its results. > > > -as-instr = $(call checker-shell,\ > > > - printf "$(1)" | $(CC) $(AFLAGS) -c -xassembler -o $$OUT -,$(2),$(3)) > > > > `printf $(1)' is pretty enough. > > As Andreas suggested 'printf "%b" "$(1)"' would be the other alternative. It will not help against single double quote in $(1) ____ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/