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:
Mirza Krak
2018-03-14 19:33:38 +01:00
committed by Khem Raj
parent 293cdd2029
commit 1f5dbaf7d4
2 changed files with 3 additions and 3 deletions

View File

@@ -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"

View File

@@ -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"