| Summary: | flex broken on target due to sysroot path to m4 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Paul Eggleton <bluelightning> |
| Component: | devtools / tool chain | Assignee: | Laurentiu Palcu <laurentiu.palcu> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | diego.ml, dvhart, enrico.scholz, meta.mr.watcher, meta.watcher, olof.johansson |
| Version: | 1.5 | ||
| Target Milestone: | 1.5.1 | ||
| Hardware: | All | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Paul Eggleton
2013-10-09 14:12:07 UTC
will
EXTRA_OECONF += " ac_cv_path_M4=${M4}"
EXTRA_OEMAKE += " m4=${M4_class-native}"
solve it?
That would be preferable to the profile.d-based fix, however it's somewhat unorthodox to use overrides in the manner the second line does. We do also need the extra RDEPENDS as far as I can tell. When it is really too unorthodix, then add add a helper variable
M4NATIVE = "${STAGING_BINDIR_NATIVE}/m4"
M4_class-native = "${M4NATIVE}"
EXTRA_OECONF += "ac_cv_path_M4=${M4}"
EXTRA_OEMAKE += "m4=${M4NATIVE}"
About which RDEPENDS are you speaking? By using fix above, all the 'create_wrapper' appends can be removed.
By looker further into it, the M4 variable can be removed completely when 'create_wrapper' scripts are removed. So, add
EXTRA_OECONF += "ac_cv_path_M4=${bindir}/m4"
EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4"
and remove 'M4* = ...' and the do_install_append...()
|