All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: u-boot@lists.denx.de
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:
Date: Mon, 15 Jun 2015 20:40:51 +0100	[thread overview]
Message-ID: <1434397251-24805-2-git-send-email-pbrobinson@gmail.com> (raw)
In-Reply-To: <1434397251-24805-1-git-send-email-pbrobinson@gmail.com>

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 <pbrobinson@gmail.com>
---
 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

  reply	other threads:[~2015-06-15 19:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 19:40 [U-Boot] [PATCH] If CONFIG_SANDBOX isn't defined the build fails in fw_env.c Peter Robinson
2015-06-15 19:40 ` Peter Robinson [this message]
2015-06-16 18:24 ` Simon Glass
2015-06-16 20:04   ` Tom Rini
2015-06-16 21:07     ` Simon Glass
2015-06-17 11:29   ` Masahiro Yamada
2015-06-17 15:06     ` Simon Glass
2015-06-17 15:26       ` Peter Robinson
2015-06-17 16:00       ` Peter Robinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1434397251-24805-2-git-send-email-pbrobinson@gmail.com \
    --to=pbrobinson@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.