Commit Graph

8 Commits

Author SHA1 Message Date
Christopher Larson
f758d228c4 sanity-external-toolchain.bbclass: use EXTERNAL_CC
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
4010c28d61 sanity-external-toolchain.bbclass: pass HOST_CC_ARCH
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
c5630c2341 sanity-external-toolchain.bbclass: handle FileNotFoundError
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2020-07-02 02:45:11 +05:00
Christopher Larson
6d927006cd Don't hardcode ${EXTERNAL_TOOLCHAIN}/bin as bindir
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2019-10-24 22:17:12 +05:00
Noor-Ahsan
3985fa436d Merge pull request #152 from kergoth/sourcery-remove-prefix
Drop the change of TARGET_PREFIX
2016-12-31 11:13:23 +05:00
Christopher Larson
1b542eb9fa sanity-external-toolchain: fix variable name
If the EXTERNAL_TOOLCHAIN path doesn't exist, the error logic had a variable
name issue (extdir vs extpath). Fix.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-16 11:08:15 -07:00
Christopher Larson
2082315ed0 Drop the change of TARGET_PREFIX
Since the external-cross recipes link/wrap the binaries already, there's no
actual need to override TARGET_PREFIX anymore.

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-12-14 20:16:06 -07:00
Christopher Larson
275b4f5c3a Revamp the sanity testing
- Reworked to function the way sanity.bbclass does, rather than running it
  every time we do a build
- Add sanity check to test trivial compilation

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2016-11-03 13:48:18 -07:00