From: Oleg Verych <olecom@flower.upol.cz>
To: Roman Zippel <zippel@linux-m68k.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
linux-kernel@vger.kernel.org
Subject: Re: The who needs reviews anyways [PATCH]
Date: Fri, 9 Feb 2007 22:42:03 +0100 [thread overview]
Message-ID: <20070209214203.GE28386@flower.upol.cz> (raw)
In-Reply-To: <Pine.LNX.4.64.0702091215440.14457@scrub.home>
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)
____
prev parent reply other threads:[~2007-02-09 21:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-08 21:48 Roman Zippel
2007-02-08 22:05 ` Sam Ravnborg
2007-02-08 22:22 ` Linus Torvalds
2007-02-08 22:53 ` Roman Zippel
2007-02-08 23:02 ` Linus Torvalds
2007-02-08 23:20 ` Roman Zippel
2007-02-09 2:29 ` Valdis.Kletnieks
2007-02-08 23:03 ` Kbuild refactoring (Re: The who needs reviews anyways [PATCH]) Oleg Verych
2007-02-09 0:06 ` The who needs reviews anyways [PATCH] Andreas Schwab
2007-02-09 1:21 ` Roman Zippel
2007-02-09 5:22 ` Oleg Verych
2007-02-09 11:35 ` Roman Zippel
2007-02-09 21:42 ` Oleg Verych [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070209214203.GE28386@flower.upol.cz \
--to=olecom@flower.upol.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@linux-foundation.org \
--cc=zippel@linux-m68k.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®