diff options
author | Denys Dmytriyenko <denys@ti.com> | 2019-09-12 01:23:52 +0000 |
---|---|---|
committer | Denys Dmytriyenko <denys@ti.com> | 2019-09-12 22:20:48 +0000 |
commit | 7ed7595f4fc3cce9d3b5e62d503bdaa920feceb5 (patch) | |
tree | afbeda0745cca94011740306aac9277c1506bc55 /recipes-kernel | |
parent | 3f3da429670bd24c98d41d3b77831a57a32029a8 (diff) | |
download | meta-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')
-rw-r--r-- | recipes-kernel/jailhouse/jailhouse_git.bb | 5 |
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 ?= "" | |||
58 | JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell" | 58 | JH_SYSCONFIG_CELL_am65xx ?= "k3-am654-idk.cell" |
59 | JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell" | 59 | JH_SYSCONFIG_CELL_j7-evm ?= "k3-j721e-evm.cell" |
60 | 60 | ||
61 | INITRAMFS_IMAGE ?= "" | ||
61 | JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" | 62 | JH_RAMFS_IMAGE ?= "${INITRAMFS_IMAGE}" |
62 | 63 | ||
63 | JH_CMDLINE ?= "" | 64 | JH_CMDLINE ?= "" |
@@ -78,10 +79,8 @@ USER_SPACE_CFLAGS = '${CFLAGS} -DLIBEXECDIR=\\\"${libexecdir}\\\" \ | |||
78 | -I../driver' | 79 | -I../driver' |
79 | 80 | ||
80 | TOOLS_SRC_DIR = "${S}/tools" | 81 | TOOLS_SRC_DIR = "${S}/tools" |
81 | TOOLS_OBJ_DIR = "${S}/tools" | ||
82 | |||
83 | EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} KDIR=${STAGING_KERNEL_BUILDDIR}" | ||
84 | 82 | ||
83 | EXTRA_OEMAKE = "ARCH=${JH_ARCH} CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}" KDIR=${STAGING_KERNEL_BUILDDIR}" | ||
85 | 84 | ||
86 | do_compile() { | 85 | do_compile() { |
87 | oe_runmake V=1 | 86 | oe_runmake V=1 |