2210 Make w/o /usr/include/linux

Message ID 19990720122506.A21397@bari.suse.de
State New, archived
Headers show
Series
  • 2210 Make w/o /usr/include/linux
Related show

Commit Message

Kurt Garloff July 20, 1999, 10:25 a.m. UTC
Hi,

if a link from /usr/include/linux to 
/usr/src/where_ever/your/kernel/tree/actually/is/include/linux
is missing, you're in trouble for compiling some userspace apps.

However, the kernel compilation should not depend on it.

But the scripts/split-include does at the moment.H
Attached a patch to fix it.

Patch

--- linux-2.2.10.SuSE/Makefile~	Tue Jul 20 01:44:26 1999
+++ linux-2.2.10.SuSE/Makefile	Tue Jul 20 12:05:57 1999
@@ -466,7 +466,7 @@ 
 #
 
 scripts/mkdep: scripts/mkdep.c
-	$(HOSTCC) $(HOSTCFLAGS) -o scripts/mkdep scripts/mkdep.c
+	$(HOSTCC) $(HOSTCFLAGS) -I$(HPATH) -o scripts/mkdep scripts/mkdep.c
 
 scripts/split-include: scripts/split-include.c
-	$(HOSTCC) $(HOSTCFLAGS) -o scripts/split-include scripts/split-include.c
+	$(HOSTCC) $(HOSTCFLAGS) -I$(HPATH) -o scripts/split-include scripts/split-include.c