Re: Various kbuild problems in 2.5.22

Sam Ravnborg (sam@ravnborg.org)
Tue, 18 Jun 2002 21:16:39 +0200


On Tue, Jun 18, 2002 at 10:10:59AM -0700, Adam J. Richter wrote:
>
> The standard for make is that if you name the target, it
> builds the target. If I want to make bzImage and modules, I should type
> "make bzImage modules".
As it is in 2.5.22 make bzImage compares to make installable in kbuild-2.5.
What about combining best of both worlds?

Let
make bzImage -> Build bzImage
make modules -> Build modules

And the new member of the family:
make kernel -> Build selected binary and modules.

So "make kernel" is similar to kbuild-2.5 "make installable" a name
that I dislike. Obviously "make kernel" requires support for selecting
the appropriate binary utilising make *config.

That would solve your concerns about the semantics - or?

>
> I agree with making the common case easier to build, but I would
> happy to have "make bzImage modules" be activatable by "make all" or
> "make" (or both).
"make all" I dislike.
"make all" is for me everything that can be maked, including doc's etc.
make with no argument should in my opinion be equal to "make kernel" -
so we agree there.

> If I want to the kernel to build to continue even when a module
> fails to compile, I should be able to do that by just using "-k". Not
> being able to build include/linux/modversions.h prevents me from doing
> that.
avoid completion in case an error is flagged.
My prediction is that the new behaviour may result in more errors being
corrected, due to the incentitive to do it. Today you ignore it
and hardly cannot spot it in all the noise generated during the build
process.
By the way - anyone having feedback on the "make KBUILD_VERBOSE=0"
mode. Why not make it default?

Sam
-
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/