[PATCH -next 2/2] kbuild: fix for updated LZ4 tool with the new streaming format

Borislav Petkov
2013-07-16T09:05:46Z

On Tue, Jul 16, 2013 at 01:27:56AM -0700, Andrew Morton wrote:
> What I'm angling at is, rather than a single global front-end script,
> can we embed the scripts in some fashion within the various Kconfig
> files? Say,
>
> script ./some-script.sh
>
> and the config system will only evaluate that command if it is working
> on that Kconfig file. Obviously that requires a multiple-pass thing.

What's wrong with simply grepping the .config we've just created for
*enabled* symbols which require userspace support, check for the
presence of said support and bail out if none?

I.e., those steps:

1. make <whatever>config
2. make => A prereq. target runs the shell script.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--