Re: 2.5.54 Makefile question: set -e

From: Sam Ravnborg (sam@ravnborg.org)
Date: Sat Jan 04 2003 - 16:01:35 EST


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
-
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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:26 EST