[PATCH] defaultenv: fix empty CONFIG_DEFAULT_ENVIRONMENT_PATH

Sascha Hauer s.hauer at pengutronix.de
Wed Mar 23 04:47:16 EDT 2011


Hi Jon,

On Tue, Mar 22, 2011 at 02:57:08AM -0400, Jon Ringle wrote:
> if CONFIG_DEFAULT_ENVIRONMENT_PATH="" then
> $(DEFAULT_ENVIRONMENT_PATH) expands to 'defaultenv "" '
> The "" would cause every single file found in $(srctree) to be included in
> $(ENV_FILES). This would then cause scripts/mod/sumversions.c to get
> recompiled using $(CC) and fail compilation if $(CC) points to a newlib
> cross compiler

Indeed an annoying bug. Applied, thanks

Sascha


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list