Bug 6623

Summary: Autotools: --host contains the target for the ./configure script
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Laszlo Papp <lpapp>
Component: configurationAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Undecided    
Version: unspecified   
Target Milestone: ---   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Laszlo Papp 2014-08-11 13:36:07 UTC
It is relatively simple to reproduce the issue without even custom recipe:

1) bitbake strace or bitbake gdb.

2) Check the log.do_configure "config.log".

3) See --host being the target rather than e.g. x86_64-linux.
Comment 1 Laszlo Papp 2014-08-11 14:03:54 UTC
It is my bad. I have to inherit cross, and that is about it:

http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#cross-development-toolchain-generation