Skip to content

Commit

Permalink
refactor(yocto/netplan): using OVERRIDES variables instead conditio…
Browse files Browse the repository at this point in the history
…nal `@bb.utils.contains()`
  • Loading branch information
nikAizuddin committed Jul 18, 2023
1 parent 0d0b538 commit 3efd4f7
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/files:"

DRIVER_PATCH_FILE = ""
DRIVER_PATCH_FILE:raspberrypi0-2w-64 = "file://0001-networkd-prioritize-wext-driver.patch"

SRC_URI:append = " \
${@bb.utils.contains("MACHINE", "raspberrypi0-2w-64", "file://0001-networkd-prioritize-wext-driver.patch", "", d)} \
${DRIVER_PATCH_FILE} \
"

0 comments on commit 3efd4f7

Please sign in to comment.