Re: [PATCH] scripts/get_default_envs.sh: preserve order of multiple entries for same variable

2020-05-07 Thread Tom Rini
On Mon, Jan 06, 2020 at 12:01:17PM +, Rasmus Villemoes wrote: > It's possible that the default_environment[] array contains multiple > entries for the same variable, e.g. a setting from env_default.h based > on some CONFIG_* variable, and another from > CONFIG_EXTRA_ENV_SETTINGS. In such a cas

Re: [PATCH] scripts/get_default_envs.sh: preserve order of multiple entries for same variable

2020-04-29 Thread Rasmus Villemoes
On 30/01/2020 03.17, Simon Glass wrote: > On Mon, 6 Jan 2020 at 05:17, Lukasz Majewski wrote: >> >> Hi Rasmus, >> >>> It's possible that the default_environment[] array contains multiple >>> entries for the same variable, e.g. a setting from env_default.h based >>> on some CONFIG_* variable, and a

Re: [PATCH] scripts/get_default_envs.sh: preserve order of multiple entries for same variable

2020-01-29 Thread Simon Glass
On Mon, 6 Jan 2020 at 05:17, Lukasz Majewski wrote: > > Hi Rasmus, > > > It's possible that the default_environment[] array contains multiple > > entries for the same variable, e.g. a setting from env_default.h based > > on some CONFIG_* variable, and another from > > CONFIG_EXTRA_ENV_SETTINGS. In

Re: [PATCH] scripts/get_default_envs.sh: preserve order of multiple entries for same variable

2020-01-06 Thread Lukasz Majewski
Hi Rasmus, > It's possible that the default_environment[] array contains multiple > entries for the same variable, e.g. a setting from env_default.h based > on some CONFIG_* variable, and another from > CONFIG_EXTRA_ENV_SETTINGS. In such a case, the last setting takes > effect. > > Hence, in orde

[PATCH] scripts/get_default_envs.sh: preserve order of multiple entries for same variable

2020-01-06 Thread Rasmus Villemoes
It's possible that the default_environment[] array contains multiple entries for the same variable, e.g. a setting from env_default.h based on some CONFIG_* variable, and another from CONFIG_EXTRA_ENV_SETTINGS. In such a case, the last setting takes effect. Hence, in order to be able to use the ou