Skip to content
Snippets Groups Projects
Commit e6f58414 authored by Bartosz Golaszewski's avatar Bartosz Golaszewski
Browse files

zephyr-kernel: fix the ACM0 patch application logic


The logic is currently inverted. Fix it by only applying the patch *if*
ONIRO_ENABLE_ACM0 is set to 1.

Signed-off-by: default avatarBartosz Golaszewski <bartosz.golaszewski@huawei.com>
parent 758d12ab
No related branches found
No related tags found
1 merge request!17zephyr-kernel: fix the ACM0 patch application logic
Pipeline #6757 passed with warnings
...@@ -8,7 +8,7 @@ SRC_URI += " \ ...@@ -8,7 +8,7 @@ SRC_URI += " \
git://github.com/zephyrproject-rtos/trusted-firmware-m.git;protocol=https;nobranch=1;destsuffix=git/modules/tee/tfm;name=tfm \ git://github.com/zephyrproject-rtos/trusted-firmware-m.git;protocol=https;nobranch=1;destsuffix=git/modules/tee/tfm;name=tfm \
git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \ git://github.com/zephyrproject-rtos/hal_cypress.git;protocol=https;nobranch=1;destsuffix=git/modules/hal/cypress;name=cypress \
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_ENABLE_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)} \
" "
# #
......
...@@ -74,5 +74,5 @@ SRC_URI += " \ ...@@ -74,5 +74,5 @@ SRC_URI += " \
file://0001-lvgl-add-support-for-lvgl-v8.2.0.patch \ file://0001-lvgl-add-support-for-lvgl-v8.2.0.patch \
file://0001-boards-arm-arduino_nano_33_ble-add-support-for-the-a.patch \ file://0001-boards-arm-arduino_nano_33_ble-add-support-for-the-a.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_ENABLE_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)} \
" "
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