From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Robinson Date: Mon, 15 Jun 2015 20:40:51 +0100 Subject: [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c due to a with with the following error: In-Reply-To: <1434397251-24805-1-git-send-email-pbrobinson@gmail.com> References: <1434397251-24805-1-git-send-email-pbrobinson@gmail.com> Message-ID: <1434397251-24805-2-git-send-email-pbrobinson@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de error: expected '}' before 'BOOT_TARGET_DEVICES_references_HOST_without_CONFIG_SANDBOX' CONFIG_EXTRA_ENV_SETTINGS A check to see if it's defined fixes this issue. Signed-off-by: Peter Robinson --- include/configs/sandbox.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h index 3caa83c..f72675b 100644 --- a/include/configs/sandbox.h +++ b/include/configs/sandbox.h @@ -6,6 +6,10 @@ #ifndef __CONFIG_H #define __CONFIG_H +#ifndef CONFIG_SANDBOX +#define CONFIG_SANDBOX +#endif + #ifdef FTRACE #define CONFIG_TRACE #define CONFIG_CMD_TRACE -- 2.4.3