buildtools-tarball: obey EXTERNAL_ENABLED

Signed-off-by: Christopher Larson <kergoth@gmail.com>
This commit is contained in:
Christopher Larson
2021-04-01 11:33:43 -07:00
parent 39a546d78d
commit 4329c00b73

View File

@@ -2,5 +2,6 @@
# RDEPENDS. Forcibly empty it, otherwise a TOOLCHAIN_TARGET_TASK_append at the
# config level will break the buildtools-tarball build
python () {
d.setVar('TOOLCHAIN_TARGET_TASK', '')
if d.getVar('EXTERNAL_ENABLED'):
d.setVar('TOOLCHAIN_TARGET_TASK', '')
}