Messages in this thread | | | From | David Woodhouse <> | Subject | Re: no version magic, tainting kernel. | Date | Sun, 26 Jan 2003 23:16:11 +0000 |
| |
zander@minion.de said: > I apologize if I have argued based on false assumptions; is it true > then that a Makefile written for use with Linux 2.5 kbuild will work > unchanged with any Linux 2.2/2.5 kernel (w/ custom CFLAGS, ...)?
There are some differences, but nothing insurmountable.
For <=2.4 you have to include Rules.make at the end of your own Makefile, and for 2.5 that file doesn't exist any more.
For older kernels you must set O_TARGET, for 2.5 I think the mere act of setting it causes the build to break -- that one is gratuitously making it harder to make external modules which compile in both and I've complained about it before.
Per-file CFLAGS must have a full path specified now in 2.5, whereas in 2.4 and earlier it was just 'CFLAGS_filename.o'.
-- dwmw2
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |