instant-*.bbclass: split out path settings to common instant-paths.bbclass

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2018-12-06 18:10:44 +01:00
parent ed6923ecef
commit 30f117019f
3 changed files with 7 additions and 8 deletions

View File

@@ -2,10 +2,7 @@
# class for instant native sysroot
#------------------------------------------------------------------------------
inherit utils
# This is where instant native sysroot is installed to
INSTANT_NATIVE_PATH = "${TMPDIR}/sysroot-instant-native"
inherit utils instant-paths
do_prepare_recipe_sysroot[postfuncs] += "${INSTANTSYSROOTFUNC}"
INSTANTSYSROOTFUNC = ""

View File

@@ -0,0 +1,5 @@
# This is where instant native sysroot is installed to
INSTANT_NATIVE_PATH = "${TMPDIR}/sysroot-instant-native"
# This is where instant cross sysroot is installed to
INSTANT_CROSS_PATH = "${TMPDIR}/sysroot-instant-cross-${MACHINE_ARCH}"

View File

@@ -49,10 +49,7 @@
#
#------------------------------------------------------------------------------
inherit utils
# This is where instant cross sysroot is installed into
INSTANT_CROSS_PATH = "${TMPDIR}/sysroot-instant-cross-${MACHINE_ARCH}"
inherit utils instant-paths
# ensure necessary gdb recipes are build
EXTRA_IMAGEDEPENDS += "gdb-cross-${TARGET_ARCH} gdb"