From e3e71f5e6610d163b36dd01a296368a50f120804 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 23 Oct 2011 15:48:19 +0800 Subject: sandbox: move __SANDBOX__ to Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD Signed-off-by: Sascha Hauer --- arch/sandbox/Makefile | 2 +- arch/sandbox/board/config.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'arch/sandbox') 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 */ -- cgit v1.2.3