From 0954fed02cf16ef9adb9b0f4a9db9df467ed3291 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Sat, 3 Mar 2018 01:19:18 +0500 Subject: [PATCH] external-common.bbclass: import oe.external right away This aligns with what base.bbclass does. Signed-off-by: Christopher Larson --- classes/external-common.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/external-common.bbclass b/classes/external-common.bbclass index a5f17e7..8945b2c 100644 --- a/classes/external-common.bbclass +++ b/classes/external-common.bbclass @@ -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', '')}"