diff options
| -rw-r--r-- | meta-xilinx-standalone-experimental/recipes-libraries/xilpm_git.bb | 13 |
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 @@ | |||
| 1 | inherit esw | 1 | inherit esw python3native |
| 2 | 2 | ||
| 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" | 3 | ESW_COMPONENT_SRC = "/lib/sw_services/xilpm/src/" |
| 4 | ESW_COMPONENT_NAME = "libxilpm.a" | 4 | ESW_COMPONENT_NAME = "libxilpm.a" |
| 5 | 5 | ||
| 6 | DEPENDS = "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" | 6 | DEPENDS += "libxil ${@'xilplmi cframe' if d.getVar('ESW_MACHINE') == 'psv_pmc_0' else ''}" |
| 7 | |||
| 8 | do_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 | } | ||
