Andrew Geissler | 84ad7c5 | 2020-06-27 00:00:16 -0500 | [diff] [blame] | 1 | COMPATIBLE_HOST_xilinx-standalone = "${HOST_SYS}" |
| 2 | |
| 3 | COMPATIBLE_MACHINE_cortexa53-zynqmp = ".*" |
| 4 | COMPATIBLE_MACHINE_cortexr5-zynqmp = ".*" |
| 5 | COMPATIBLE_MACHINE_microblaze-pmu = ".*" |
| 6 | COMPATIBLE_MACHINE_microblaze-plm = ".*" |
| 7 | COMPATIBLE_MACHINE_cortexa72-versal = ".*" |
| 8 | COMPATIBLE_MACHINE_cortexr5-versal = ".*" |
| 9 | COMPATIBLE_MACHINE_cortexa9-zynq = ".*" |
| 10 | |
| 11 | XSCTH_PROC_cortexa53-zynqmp ??= "psu_cortexa53_0" |
| 12 | XSCTH_PROC_cortexr5-zynqmp ??= "psu_cortexr5_0" |
| 13 | XSCTH_PROC_microblaze-pmu ??= "psu_pmu_0" |
| 14 | XSCTH_PROC_cortexa72-versal ??= "psv_cortexa72_0" |
| 15 | XSCTH_PROC_microblaze-plm ??= "psv_pmc_0" |
| 16 | XSCTH_PROC_cortexr5-versal ??= "psv_cortexr5_0" |
| 17 | XSCTH_PROC_cortexa9-zynq ??= "ps7_cortexa9_0" |
| 18 | |
| 19 | # Enable @ flag on dtc which is required by libxil |
| 20 | DTC_FLAGS_append_xilinx-standalone = " -@" |
| 21 | DT_INCLUDE_append_xilinx-standalone = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/${XILINX_RELEASE_VERSION}/include/" |
| 22 | |
| 23 | |
| 24 | do_install_append_zynqmp_xilinx-standalone() { |
| 25 | install -d ${D}${includedir}/devicetree |
| 26 | install -m 0644 ${B}/${PN}/psu_init.c ${D}/${includedir}/devicetree/psu_init.c |
| 27 | install -m 0644 ${B}/${PN}/psu_init.h ${D}/${includedir}/devicetree/psu_init.h |
| 28 | } |