test11pre6: incorrect makefile change

From: Peter Samuelson (peter@cadcamlab.org)
Date: Fri Nov 17 2000 - 03:15:28 EST


This toplevel Makefile change in 11pre6 is wrong:

- $(HOSTCC) $(HOSTCFLAGS) -o scripts/split-include scripts/split-include.c
+ $(HOSTCC) $(HOSTCFLAGS) -I$(HPATH) -o scripts/split-include scripts/split-include.c

Many people have proposed this patch over the last few years, to kludge
around having a broken setup. Basically, split-include.c is a regular
userspace program so if you can't compile it (without the -I), you
won't be able to compile the rest of userspace either.

Either you need the proper kernel directory symlinks in /usr/include/*,
or you need to make a copy of them like Debian does.

Linus, please revert. Not only is it conceptually wrong, it will do
interesting things if you happen to be cross-compiling for another
architecture.

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Nov 23 2000 - 21:00:12 EST