mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.5.54 Makefile question: set -e
@ 2003-01-04 20:04 Mad Hatter
  2003-01-04 21:01 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Mad Hatter @ 2003-01-04 20:04 UTC (permalink / raw)
  To: linux-kernel

Hi,

The toplevel Makefile in 2.5.54 has near line 313:

----------------------------
#	set -e makes the rule exit immediately on error
#...
attribute if uninitialized.

define rule_vmlinux__
	set -e
...
endef
-------------------------

However, the "set -e" does nothing since each line is
processed by a different shell according to the make
manual.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 2.5.54 Makefile question: set -e
  2003-01-04 20:04 2.5.54 Makefile question: set -e Mad Hatter
@ 2003-01-04 21:01 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2003-01-04 21:01 UTC (permalink / raw)
  To: Mad Hatter, Kai Germaschewski; +Cc: linux-kernel

On Sat, Jan 04, 2003 at 12:04:15PM -0800, Mad Hatter wrote:
> Hi,
> 
> The toplevel Makefile in 2.5.54 has near line 313:
> 
> ----------------------------
> #	set -e makes the rule exit immediately on error
> #...
> attribute if uninitialized.
> 
> define rule_vmlinux__
> 	set -e
> ...
> endef
> -------------------------
> 
> However, the "set -e" does nothing since each line is
> processed by a different shell according to the make
> manual.

The "set -e" seems superflous in this context.
set -e is IIRC only relevant when commands are chined like:

set -e; \
cd $(srctree); \
mkdir somedir; \
do somthing;

Kai?

	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-01-04 20:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-04 20:04 2.5.54 Makefile question: set -e Mad Hatter
2003-01-04 21:01 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome