From 5e112453b2e953c5fa1d248355610ddf06f21b4a Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 30 Sep 2008 10:17:14 +0200 Subject: Sandbox: Fix make system Sandbox compilation failed with: gcc -Wp,-MD,arch/sandbox/lib/.tap.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.1/include -I/usr/include -Iinclude -P -Wall -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(tap)" -D"KBUILD_MODNAME=KBUILD_STR(tap)" -c -o arch/sandbox/lib/tap.o arch/sandbox/lib/tap.c In file included from /usr/include/bits/socket.h:32, from /usr/include/sys/socket.h:36, from arch/sandbox/lib/tap.c:29: /usr/include/limits.h:125:26: error: limits.h: No such file or directory /usr/include/limits.h uses the next_include directive This was because of the -nostdinc Signed-off-by: Sascha Hauer --- arch/sandbox/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch/sandbox/Makefile') diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile index 314c151bea..06f162f63a 100644 --- a/arch/sandbox/Makefile +++ b/arch/sandbox/Makefile @@ -73,6 +73,6 @@ cmd_uboot__ = $(CC) -o $@ -Wl,-T,$(uboot-lds) \ -Wl,--start-group $(uboot-common) -Wl,--end-group \ -lrt -lpthread -common-y += arch/sandbox/lib/ board/sandbox/ +common-y += board/sandbox/ arch/sandbox/os/ MRPROPER_FILES += include/asm-sandbox/arch -- cgit v1.2.3