make O=directory parameter

Tom Rini trini at konsulko.com
Thu Feb 25 16:35:21 CET 2021


On Thu, Feb 25, 2021 at 12:50:47PM +1100, Fred 1 wrote:

> like in the linux kernel build
> 
> make O=builds/arm
> 
> builds the result to the specified output directory
> 
> 
> is this supposed to work for uboot also ?
> 
> doesn't seem to work for me, i've fetched older tar files and same problem
> 
> maybe my environment?
> 
>     fedora32
> 
>     5.10.13-100.fc32.x86_64
> 
>     GNU Make 4.2.1
> 
> the O=<dir>  does mostly work on older uboot like from ~2010 though....
> 
> 
> thought i'd ask as debugging the make process is,well umm...horrible,
> 
> (i've inserted some extra debug print codes in gnu make (it self no code to
> be praised about!
> 
> esp when so much open source depends on it!!)
> 
> so atm, a bit of a rabbit hole........should I persist?

Can you provide a sample failure?  The last "make O=... fails" I saw was
because they were passing ARCH= which isn't valid for U-Boot and
specifically breaks if you're say building for an aarch64 platform as in
the linux kernel you would do ARCH=arm64 but it's all "arm" here.
Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210225/53974b2b/attachment.sig>


More information about the U-Boot mailing list