Re: [kernel make system] adding pre-check scripts
From: Sam Ravnborg
Date: Tue Feb 03 2009 - 06:48:32 EST
On Tue, Feb 03, 2009 at 10:28:44AM +0200, Victoria Muntean wrote:
> Is there provision in kernel makefiles to execute user-supplied
> pre/post add-on scripts ? (by following some convention)
>
> I have script pre-checks.sh, it checks that .config defines certain parameters
> certain way. This is to prevent [build with] accidental redefine of
> certain important parameters.
>
> One possibility is to
> ./my-pre-checks.sh && make
> But this is not perfect.
> It leaves of pre-checks optional easy to forget to run before build.
> Is it possible to make "make" execute my pre-script before build.
Hi Victoria.
We do not have such functionality and unless thre is a broad interest
I do not plan to add it either.
People usually include this in their 'kmake' scripts or whatever they name it.
Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/