c5f597c
From 4ff418fa70e038b1ce17545294d7638cb0e12390 Mon Sep 17 00:00:00 2001
c5f597c
From: Peter Robinson <pbrobinson@gmail.com>
c5f597c
Date: Mon, 15 Jun 2015 15:52:09 +0100
c5f597c
Subject: [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c
c5f597c
 due to a with with the following error:
c5f597c
c5f597c
error: expected '}' before 'BOOT_TARGET_DEVICES_references_HOST_without_CONFIG_SANDBOX'
c5f597c
  CONFIG_EXTRA_ENV_SETTINGS
c5f597c
c5f597c
A check to see if it's defined fixes this issue.
c5f597c
c5f597c
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
c5f597c
---
c5f597c
 include/configs/sandbox.h | 4 ++++
c5f597c
 1 file changed, 4 insertions(+)
c5f597c
c5f597c
diff --git a/include/configs/sandbox.h b/include/configs/sandbox.h
c5f597c
index 3caa83c..f72675b 100644
c5f597c
--- a/include/configs/sandbox.h
c5f597c
+++ b/include/configs/sandbox.h
c5f597c
@@ -6,6 +6,10 @@
c5f597c
 #ifndef __CONFIG_H
c5f597c
 #define __CONFIG_H
c5f597c
 
c5f597c
+#ifndef CONFIG_SANDBOX
c5f597c
+#define CONFIG_SANDBOX
c5f597c
+#endif
c5f597c
+
c5f597c
 #ifdef FTRACE
c5f597c
 #define CONFIG_TRACE
c5f597c
 #define CONFIG_CMD_TRACE
c5f597c
-- 
c5f597c
2.4.3
c5f597c