[Buildroot] [PATCH] Makefile: generate wrapper makefile when running make without a .config

Peter Korsgaard peter at korsgaard.com
Mon Jul 3 13:01:46 UTC 2017


>>>>> "Arnout" == Arnout Vandecappelle <arnout at mind.be> writes:

 > On 03-07-17 12:24, Peter Korsgaard wrote:
 >> The recent change to error out instead of running menuconfig when no .config
 >> is available broke an existing use case:
 >> 
 >> make O=output-foo; cd output-foo; br-init-conf (or similar to get a sensible .config); make
 >> 
 >> As there is no wrapper makefile in output-foo.
 >> 
 >> Fix it by ensuring the wrapper gets created if needed.
 >> 
 >> Signed-off-by: Peter Korsgaard <peter at korsgaard.com>

 > Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>

Committed, thanks.

 >  However, the br-init-conf script doesn't exist in utils/. Perhaps someone
 > should add it? :-P

True. Thomas wrote the script, but it very much depends on the
autobuilder toolchains, so probably it needs to be updated with the
changes we're doing now.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list