summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
index 47431446..f514bc2b 100644
--- a/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
+++ b/meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb
@@ -1,6 +1,15 @@
1inherit esw 1inherit esw python3native
2 2
3ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" 3ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/"
4ESW_COMPONENT_NAME = "libxilpm.a" 4ESW_COMPONENT_NAME = "libxilpm.a"
5 5
6DEPENDS = "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" 6DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}"
7
8do_configure:prepend:zynqmp() {
9 # This script should also not rely on relative paths and such
10 (
11 cd ${S}
12 lopper -f --enhanced --werror ${DTS_FILE} -- generate_config_object pm_cfg_obj.c ${ESW_MACHINE}
13 install -m 0755 pm_cfg_obj.c ${S}/${ESW_COMPONENT_SRC}/
14 )
15}