No subject


Thu Oct 11 07:38:59 CEST 2012


force
make to use SHELL from the environment, even with export. The note about SH=
ELL
in "5.7.2 Communicating Variables to a Sub-make" can be misleading however.

Without "export SHELL", the recipes are executed with the set SHELL, but th=
e
default value of SHELL is in their environment.

With "export SHELL", the recipes are executed with the set SHELL, which is =
also
in their environment. But since the sub-make ignores its environment for SH=
ELL,
it does not help. That's probably why Linux uses CONFIG_SHELL (which means
nothing special to make) instead of SHELL.

So 1) is not a solution, and 4) also does not work. So we are left with 2),=
 3)
or 5).

Best regards,
Beno=C3=AEt


More information about the U-Boot mailing list