From 08e377aab130cc4196dcbb5093589d86946d92c3 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 12 Dec 2006 03:30:02 +0000 Subject: we just want the kernel headers, not the whole kernel source ... so people may need to update their paths slightly --- Rules.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 6822f8ce8..08516e68b 100644 --- a/Rules.mak +++ b/Rules.mak @@ -64,8 +64,8 @@ TARGET_ARCH:=$(shell grep -s '^TARGET_ARCH' $(top_builddir)/.config | sed -e 's/ TARGET_ARCH:=$(strip $(subst ",, $(strip $(TARGET_ARCH)))) RUNTIME_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(RUNTIME_PREFIX)))))) DEVEL_PREFIX:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(DEVEL_PREFIX)))))) -KERNEL_SOURCE:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(KERNEL_SOURCE)))))) -export RUNTIME_PREFIX DEVEL_PREFIX KERNEL_SOURCE +KERNEL_HEADERS:=$(strip $(subst //,/, $(subst ,/, $(subst ",, $(strip $(KERNEL_HEADERS)))))) +export RUNTIME_PREFIX DEVEL_PREFIX KERNEL_HEADERS # Now config hard core @@ -471,7 +471,7 @@ else PTNAME := PTINC := endif -CFLAGS += -I$(KERNEL_SOURCE) +CFLAGS += -I$(KERNEL_HEADERS) # Sigh, some stupid versions of gcc can't seem to cope with '-iwithprefix include' #CFLAGS+=-iwithprefix include -- cgit v1.2.3