mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [kernel make system] adding pre-check scripts
@ 2009-02-03  8:28 Victoria Muntean
  2009-02-03 11:49 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Victoria Muntean @ 2009-02-03  8:28 UTC (permalink / raw)
  To: linux-kernel

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.

Thanks
V.M.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kernel make system] adding pre-check scripts
  2009-02-03  8:28 [kernel make system] adding pre-check scripts Victoria Muntean
@ 2009-02-03 11:49 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2009-02-03 11:49 UTC (permalink / raw)
  To: Victoria Muntean; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-03 11:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-03  8:28 [kernel make system] adding pre-check scripts Victoria Muntean
2009-02-03 11:49 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®