From 6ea7aa72dd894e723aef8881bd55766914cb07ed Mon Sep 17 00:00:00 2001 From: "lethal@linux-sh.org" Date: Fri, 24 Oct 2003 23:37:17 -0700 Subject: [PATCH] [PATCH] Fixup path for kernel includes when building with klibc. Fixup path for kernel includes when building with klibc. klibc expects the symlink klibc/linux to point to a relatively up to date tree, use -Iklibc/linux/include to make linux/ and asm/ includes resolve properly, as these won't exist in the regular klibc/klibc/include location. --- Makefile.klibc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.klibc b/Makefile.klibc index f8f395567..f7c3dbd84 100644 --- a/Makefile.klibc +++ b/Makefile.klibc @@ -120,7 +120,7 @@ ifeq ($(strip $(KLIBC)),true) # LIB_OBJS = $(GCC_LIB) LIBC = $(ARCH_LIB_OBJS) $(LIB_OBJS) - CFLAGS += -nostdinc -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/bits32 -I/home/greg/linux/linux-2.5/include -I$(GCCINCDIR) -D__KLIBC__ + CFLAGS += -nostdinc -I$(INCLUDE_DIR) -I$(INCLUDE_DIR)/bits32 -I$(GCCINCDIR) -Iklibc/linux/include -D__KLIBC__ LDFLAGS = # LDFLAGS = --static --nostdlib -nostartfiles else -- 2.30.2