mirror of
https://github.com/thead-yocto-mirror/meta-external-toolchain
synced 2026-09-10 09:55:23 +02:00
external-common.bbclass: import oe.external right away
This aligns with what base.bbclass does. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
OE_IMPORTS += "oe.external"
|
||||
OE_IMPORTED := "${@oe_import(d)}"
|
||||
|
||||
EXTERNAL_TOOLCHAIN_SYSROOT ?= "${@oe.external.run(d, 'gcc', *(TARGET_CC_ARCH.split() + ['-print-sysroot'])).rstrip()}"
|
||||
EXTERNAL_TOOLCHAIN_LIBROOT ?= "${@oe.external.run(d, 'gcc', *(TARGET_CC_ARCH.split() + ['-print-file-name=crtbegin.o'])).rstrip().replace('/crtbegin.o', '')}"
|
||||
|
||||
Reference in New Issue
Block a user