For now, sticking to POSIX behavior is simply not worth it. Several
Makefiles already use this technique, and they are SO much easier to
maintain than the other Makefiles. I just converted
drivers/net/Makefile to this new method.
rum:/spare/cvs/linux_2_3> find . -name Makefile|xargs grep -l -- obj-m
> PS. I am well aware that the current kernel makefiles rely on GNUisms, but
> there is work being done (by myself and others) to present patches that
> allow the use of _ANY_ POSIX-compatible make utility being used.
Any solution which makes these Makefiles larger as a result of
portability changes will probably be frowned upon. Also, the kernel
relies heavily on gcc'isms. I doubt people really care that much about
having portable Makefiles. The kernel will be requiring the GNU
toolchain for some time to come...
If you really want portable Makefiles, we need to go to an automake-like
system which generates true, POSIX-portable Makefiles from Makefile.am
-- Jeff Garzik | Just once, I wish we would encounter Building 1024 | an alien menace that wasn't immune to MandrakeSoft, Inc. | bullets. -- The Brigadier, "Dr. Who"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to email@example.com Please read the FAQ at http://www.tux.org/lkml/