[Buildroot] [PATCH 3/5] By default, put the output in an output/ directory

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 9 11:28:27 UTC 2009


Le Wed, 09 Sep 2009 12:19:57 +0200,
Peter Korsgaard <jacmet at uclibc.org> a écrit :

> Wouldn't it be simpler to just pretend we were passed O=output by
> default? E.G:
> 
> ifneq ("$(origin O)", "command line")
> O:=output
> endif
> 
> BASE_DIR := $(shell mkdir -p $(O) && cd $(O) && pwd)

Sure, will fix.

Thanks,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list