summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/jailhouse
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2019-09-12 01:23:52 +0000
committerDenys Dmytriyenko <denys@ti.com>2019-09-12 22:20:48 +0000
commit7ed7595f4fc3cce9d3b5e62d503bdaa920feceb5 (patch)
treeafbeda0745cca94011740306aac9277c1506bc55 /recipes-kernel/jailhouse
parent3f3da429670bd24c98d41d3b77831a57a32029a8 (diff)
downloadmeta-ti-7ed7595f4fc3cce9d3b5e62d503bdaa920feceb5.tar.gz
jailhouse: ensure INITRAMFS_IMAGE is initialized, pass full CC var
* If both INITRAMFS_IMAGE and JH_RAMFS_IMAGE are unset, variables fail to expand, which leads to dependency errors. * Passing full CC variable ensure all options are specified, especially --sysroot one for internal toolchains. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/jailhouse')
-rw-r--r--recipes-kernel/jailhouse/jailhouse_git.bb5
1 files changed, 2 insertions, 3 deletions
diff --git a/recipes-kernel/jailhouse/jailhouse_git.bb b/recipes-kernel/jailhouse/jailhouse_git.bb
index 0b52ecba..32aecf8a 100644
--- a/recipes-kernel/jailhouse/jailhouse_git.bb
+++ b/recipes-kernel/jailhouse/jailhouse_git.bb
@@ -58,6 +58,7 @@ JH_SYSCONFIG_CELL ?= ""
58JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell" 58JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell"
59JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell" 59JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell"
60 60
61INITRAMFS_IMAGE ?= ""
61JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" 62JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}"
62 63
63JH_CMDLINE ?= "" 64JH_CMDLINE ?= ""
@@ -78,10 +79,8 @@ USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \
78 -I../driver' 79 -I../driver'
79 80
80TOOLS_SRC_DIR = "${S}/tools" 81TOOLS_SRC_DIR = "${S}/tools"
81TOOLS_OBJ_DIR = "${S}/tools"
82
83EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} KDIR=${STAGING_KERNEL_BUILDDIR}"
84 82
83EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}"
85 84
86do_compile() { 85do_compile() {
87 oe_runmake V=1 86 oe_runmake V=1