mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 1/3] sandbox: move __SANDBOX__ to Makefile
Date: Sun, 23 Oct 2011 15:48:19 +0800	[thread overview]
Message-ID: <1319356101-4521-1-git-send-email-plagnioj@jcrosoft.com> (raw)

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
 arch/sandbox/Makefile       |    2 +-
 arch/sandbox/board/config.h |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 4ca17ed..860ed1c 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -1,5 +1,5 @@
 
-CPPFLAGS += -fno-strict-aliasing
+CPPFLAGS += -D__SANDBOX__ -fno-strict-aliasing
 
 machine-y := sandbox
 
diff --git a/arch/sandbox/board/config.h b/arch/sandbox/board/config.h
index c96d762..ca15136 100644
--- a/arch/sandbox/board/config.h
+++ b/arch/sandbox/board/config.h
@@ -1,6 +1,4 @@
 #ifndef __CONFIG_H
 #define __CONFIG_H
 
-#define __SANDBOX__
-
 #endif	/* __CONFIG_H */
-- 
1.7.7


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2011-10-23  7:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-23  7:48 Jean-Christophe PLAGNIOL-VILLARD [this message]
2011-10-23  7:48 ` [PATCH 2/3] sandbox: remove duplicate barebox.lds.S Jean-Christophe PLAGNIOL-VILLARD
2011-10-23  7:48 ` [PATCH 3/3] sandbox: simplify linker script Jean-Christophe PLAGNIOL-VILLARD
2011-10-23  7:32   ` Jean-Christophe PLAGNIOL-VILLARD

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=1319356101-4521-1-git-send-email-plagnioj@jcrosoft.com \
    --to=plagnioj@jcrosoft.com \
    --cc=barebox@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox