Bug 6623 - Autotools: --host contains the target for the ./configure script
Summary: Autotools: --host contains the target for the ./configure script
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: configuration (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-08-11 13:36 UTC by Laszlo Papp
Modified: 2014-08-11 14:03 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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