[ELDK] [PATCH] eldk-switch.sh: Fix ARCH setting in ELDKs >= 5.4

Detlev Zundel dzu at denx.de
Mon Oct 7 16:33:41 CEST 2013


Detlev Zundel <dzu at denx.de> writes:

> Beginning with version 5.4 the environment-setup script contains a setting
> for ARCH.  As we evaluate all variables simply to get TARGET_PREFIX this
> overwrites ARCH from the calling shell.  Subsequently the ARCH logic
> (needed for the transition phase where two ARCH settings were valid,
> i.e. "ppc" and "powerpc") fails and does not output commands for
> setting ARCH.
>
> The proper fix is to only evaluate what we really need in the script.
>
> Signed-off-by: Detlev Zundel <dzu at denx.de>

Thanks, applied.

Cheers
  Detlev

-- 
Every generation laughs at the old fashions, but follows religiously
the new.
                                        -- Henry David Thoreau
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list