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:
@@ -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 = ""
|
||||
|
||||
5
classes/instant-paths.bbclass
Normal file
5
classes/instant-paths.bbclass
Normal 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}"
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user