defaultenv: Reorder overlay append order
The defaultenv_add_base() functions adds the enviroment coming from
CONFIG_DEFAULT_ENVIRONMENT_PATH. But this is not only for
traditional enviroments, but also for external enviroments in e.g. build
systems. The external enviroment should override the enviroment set
in the board file and not the other way around. Made sure that
external enviroment is always added last.

Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 0662205 commit 22acbddd89518b3079ee54bbc5faabbca3ebc5d1
@Teresa Gámez Teresa Gámez authored on 10 Sep 2014
Sascha Hauer committed on 11 Sep 2014
Showing 1 changed file
View
defaultenv/defaultenv.c