mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-07 01:04:40 +02:00
riscv-pk: use a variable for the BBL payload
Preperation patch to supporting something else other then qemu. While at it removed code that was commented out. Signed-off-by: Mirza Krak <mirza.krak@endian.se>
This commit is contained in:
@@ -21,6 +21,8 @@ SERIAL_CONSOLES = "38400;ttyS0 38400;hvc0"
|
||||
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
|
||||
EXTRA_IMAGEDEPENDS += "riscv-pk"
|
||||
|
||||
RISCV_BBL_PAYLOAD ?= "${KERNEL_IMAGETYPE}"
|
||||
|
||||
# qemuboot options
|
||||
QB_MACHINE = "-machine virt"
|
||||
QB_DEFAULT_KERNEL = "bbl"
|
||||
|
||||
@@ -13,9 +13,7 @@ LDFLAGS_append = " -Wl,--build-id=none"
|
||||
|
||||
inherit autotools
|
||||
|
||||
EXTRA_OECONF += "--enable-logo --with-payload=${DEPLOY_DIR_IMAGE}/vmlinux"
|
||||
|
||||
#DEPENDS = "riscv-fesvr-native riscv-spike-native"
|
||||
EXTRA_OECONF += "--enable-logo --with-payload=${DEPLOY_DIR_IMAGE}/${RISCV_BBL_PAYLOAD}"
|
||||
|
||||
INHIBIT_PACKAGE_STRIP = "1"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user