[kernel make system] adding pre-check scripts

From: Victoria Muntean
Date: Tue Feb 03 2009 - 03:28:56 EST


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