summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 */