lkml.org 
[lkml]   [1999]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] new makefile for fbcon
Dominik Kubla wrote:
> Nice, but... Too many GNU-isms. GNU make is not half as good as many people
> believe, so you won't gain overly much by using it's specialities.
>
> Better to stick to the POSIX behaviour since this is not to change in between
> versions of make and allows people to use alternatives like pmake (which is
> better suited to distributed build environments btw.!)

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
./drivers/cdrom/Makefile
./drivers/char/pcmcia/Makefile
./drivers/net/Makefile
./drivers/net/pcmcia/Makefile
./drivers/sound/lowlevel/Makefile
./drivers/sound/Makefile


> 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
meta-makefiles.

--
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 majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.143 / U:0.352 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site