[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 1 Jan 2008 21:34:21 +0800
From: WANG Cong <xiyou.wangcong@...il.com>
To: Sam Ravnborg <sam@...nborg.org>
Cc: WANG Cong <xiyou.wangcong@...il.com>,
Mikael Starvik <starvik@...s.com>,
LKML <linux-kernel@...r.kernel.org>,
linux-kbuild@...r.kernel.org, Andrew Morton <akpm@...l.org>,
dev-etrax@...s.com
Subject: (Try #2) [Patch 4/8] CRIS: Remove 'TOPDIR' from Makefiles
>> -CC = gcc-cris -mlinux -march=v32 -I $(TOPDIR)/include
>> +CC = gcc-cris -mlinux -march=v32 -I $(objtree)/include
>
>As in the mips case the right fix is to use:
>> +CC = gcc-cris -mlinux -march=v32 -Iinclude -Iinclude2
>
>In this way we pick up the includes also in the O=..
>case.
Thanks, Sam!
Resend it. ;)
--------->
This patch removes TOPDIR from Cris Makefiles.
Cc: Mikael Starvik <starvik@...s.com>
Cc: Sam Ravnborg <sam@...nborg.org>
Signed-off-by: WANG Cong <xiyou.wangcong@...il.com>
---
diff --git a/arch/cris/arch-v32/boot/compressed/Makefile b/arch/cris/arch-v32/boot/compressed/Makefile
index 9f77eda..27e9f15 100644
--- a/arch/cris/arch-v32/boot/compressed/Makefile
+++ b/arch/cris/arch-v32/boot/compressed/Makefile
@@ -7,7 +7,7 @@
target = $(target_compressed_dir)
src = $(src_compressed_dir)
-CC = gcc-cris -mlinux -march=v32 -I $(TOPDIR)/include
+CC = gcc-cris -mlinux -march=v32 -Iinclude -Iinclude2
CFLAGS = -O2
LD = gcc-cris -mlinux -march=v32 -nostdlib
OBJCOPY = objcopy-cris
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists