Skip to content
Snippets Groups Projects
Commit 8d775ed4 authored by Pavel Zhukov's avatar Pavel Zhukov Committed by Andrei Gherzan
Browse files

zephyr-kernel-src.inc: Reverse logic of applying ACM0 patch

Patch should be applied only in CI environment with "ONIRO_ENABLE_ACM0"
flag set to not break UX

Fixes: eclipse/oniro-core/meta-zephyr#30



Signed-off-by: default avatarPavel Zhukov <pavel.zhukov@huawei.com>
parent 832fb491
No related branches found
No related tags found
1 merge request!12zephyr-kernel-src.inc: Reverse logic of applying ACM0 patch
Pipeline #6431 passed with warnings
...@@ -54,7 +54,7 @@ SRC_URI = "\ ...@@ -54,7 +54,7 @@ SRC_URI = "\
git://github.com/zephyrproject-rtos/tflite-micro.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/tflite-micro;name=tflite-micro \ git://github.com/zephyrproject-rtos/tflite-micro.git;protocol=https;nobranch=1;destsuffix=git/modules/lib/tflite-micro;name=tflite-micro \
file://0001-cmake-add-yocto-toolchain.patch \ file://0001-cmake-add-yocto-toolchain.patch \
file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \ file://0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch \
${@bb.utils.contains("ONIRO_NO_ACM0", "1", "", "file://0001-console-enable-the-USB-ACM0-console-by-default.patch", d)} \ ${@bb.utils.contains("ONIRO_ENABLE_ACM0", "1", "file://0001-console-enable-the-USB-ACM0-console-by-default.patch", "", d)} \
" "
S = "${WORKDIR}/git" S = "${WORKDIR}/git"
......
...@@ -5,6 +5,9 @@ ZEPHYRTESTS:remove = "fifo fpu_sharing lifo mbox mem_heap mem_pool \ ...@@ -5,6 +5,9 @@ ZEPHYRTESTS:remove = "fifo fpu_sharing lifo mbox mem_heap mem_pool \
# Exclude tests which does not build for various reasons # Exclude tests which does not build for various reasons
ZEPHYRTESTS:remove = "gen_isr_table spinlock smp mp" ZEPHYRTESTS:remove = "gen_isr_table spinlock smp mp"
# enable serial console on boot
ONIRO_ENABLE_ACM0 ?= "1"
# Exclude tests that are not currently compiling # Exclude tests that are not currently compiling
ZEPHYRTESTS:remove:96b-avenger96 = "common device poll queue sleep" ZEPHYRTESTS:remove:96b-avenger96 = "common device poll queue sleep"
ZEPHYRTESTS:remove:96b-nitrogen = "common device poll queue sleep" ZEPHYRTESTS:remove:96b-nitrogen = "common device poll queue sleep"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment