Skip to content

Commit

Permalink
qemu-xilinx-system-native: Update pmu-rom dependency
Browse files Browse the repository at this point in the history
There was a previous change that avoided the warning message if
xilinx_pmu-rom-native was defined, but the dependency was never enabled.

Match both LICENSE_FLAGS_ACCEPTED of xilinx or xilinx_pmu-rom-native

Signed-off-by: Mark Hatle <[email protected]>
  • Loading branch information
mhatle committed Nov 12, 2024
1 parent 6a933b5 commit 3cb902f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Automatically enable pmu-rom-native for ZynqMP support
PMU_ROM_DEP[vardepsexclude] = "LICENSE_FLAGS_ACCEPTED"
PMU_ROM_DEP = "${@bb.utils.contains("LICENSE_FLAGS_ACCEPTED", "xilinx", " pmu-rom-native", "", d)}"
PMU_ROM_DEP = "${@bb.utils.contains_any("LICENSE_FLAGS_ACCEPTED", "xilinx xilinx_pmu-rom-native", " pmu-rom-native", "", d)}"

DEPENDS .= "${PMU_ROM_DEP}"

0 comments on commit 3cb902f

Please sign in to comment.