2.5.54 Makefile question: set -e
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
Quoted 15 lines · Mad Hatter
Hi,
The toplevel
Makefilein 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
-------------------------
Quoted 3 lines
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