summaryrefslogtreecommitdiffstats
path: root/arch/sandbox
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2011-10-23 15:48:19 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2011-10-23 13:36:22 +0200
commite3e71f5e6610d163b36dd01a296368a50f120804 (patch)
treebd281c3cc39d7f49ba0d23aea7ae0adfcc4e63eb /arch/sandbox
parent81fae63497d2f43ab6ec5f1370d6fc579971fe04 (diff)
downloadbarebox-e3e71f5e6610d163b36dd01a296368a50f120804.tar.gz
barebox-e3e71f5e6610d163b36dd01a296368a50f120804.tar.xz
sandbox: move __SANDBOX__ to Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/Makefile2
-rw-r--r--arch/sandbox/board/config.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index 4ca17ed839..860ed1c0ca 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 c96d762f2d..ca15136817 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 */