mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Victoria Muntean <vikimun@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [kernel make system] adding pre-check scripts
Date: Tue, 3 Feb 2009 10:28:44 +0200	[thread overview]
Message-ID: <ab4346860902030028p5798d4afi8aec5c2fd5fc83e0@mail.gmail.com> (raw)

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.

             reply	other threads:[~2009-02-03  8:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-03  8:28 Victoria Muntean [this message]
2009-02-03 11:49 ` Sam Ravnborg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ab4346860902030028p5798d4afi8aec5c2fd5fc83e0@mail.gmail.com \
    --to=vikimun@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®