From: Cooper Jr., Franklin Date: Wed, 10 Jun 2015 13:54:02 +0000 (-0500) Subject: ti: am335x/am437x/omap5 devices: Fix breakage when CONFIG_CMD_NET is not used X-Git-Tag: v2015.07-rc3~42 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=60480f812121d9ad29f28503e8c0f6f2728757c7;p=u-boot ti: am335x/am437x/omap5 devices: Fix breakage when CONFIG_CMD_NET is not used Currently there is no default value for NETARGS if CONFIG_CMD_NET=y isn't set. This results in build errors which was first discovered when trying to run make env. By defining a blank NETARGS these errors can be avoided. Signed-off-by: Franklin S Cooper Jr Tested-by: Maxin B. John Reviewed-by: Tom Rini --- diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h index f8829425a5..d1c390f4f8 100644 --- a/include/configs/ti_armv7_common.h +++ b/include/configs/ti_armv7_common.h @@ -301,7 +301,8 @@ "run netloadfdt; " \ "run netargs; " \ "bootz ${loadaddr} - ${fdtaddr}\0" - +#else +#define NETARGS "" #endif #endif /* __CONFIG_TI_ARMV7_COMMON_H__ */