Skip to content

Commit 780d15d

Browse files
committed
meta-zephyr-sdk: Get QEMU SRCREV from qemu submodule
This commit updates the QEMU recipe to obtain the SRCREV from the sdk-ng 'qemu' submodule. Signed-off-by: Stephanos Ioannidis <[email protected]>
1 parent ea2770f commit 780d15d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

meta-zephyr-sdk/recipes-devtools/qemu/qemu-zephyr_git.bb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ inherit pkgconfig systemd python3native
3737
LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \
3838
file://COPYING.LIB;endline=24;md5=8c5efda6cf1e1b03dcfd0e6c0d271c7f"
3939

40-
SRCREV = "fe132ed0c9ae14a56bbf94b1d0d16b029b671c62"
40+
SRCREV = "${ZEPHYR_SDK_QEMU_SRCREV}"
4141
SRC_URI = "gitsm://github.com/zephyrproject-rtos/qemu.git;protocol=https;nobranch=1 \
4242
https://github.com/zephyrproject-rtos/seabios/releases/download/zephyr-v1.16.3-2/bios-128k.bin;name=bios-128k \
4343
https://github.com/zephyrproject-rtos/seabios/releases/download/zephyr-v1.16.3-2/bios-256k.bin;name=bios-256k \

meta-zephyr-sdk/scripts/meta-zephyr-sdk-build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ if [ ! -d $TOOLCHAINS ] ; then
4949
fi
5050
rm -rf $TOOLCHAINS/*
5151

52+
export ZEPHYR_SDK_QEMU_SRCREV=$(cd qemu; git rev-parse HEAD)
53+
export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS} ZEPHYR_SDK_QEMU_SRCREV"
54+
5255
# setconf_var, i.e. "MACHINE","qemuarm",$localconf
5356
setconf_var()
5457
{

0 commit comments

Comments
 (0)