summaryrefslogtreecommitdiffstats
path: root/meta-xilinx-standalone/recipes-bsp
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2019-12-10 08:36:14 -0800
committerMark Hatle <mark.hatle@xilinx.com>2020-02-27 08:33:25 -0800
commit65101c31f2efe3f9274ac3d470349200dd47be7f (patch)
tree782f35116e87b46d14b00b07cd9cfbb92ade820c /meta-xilinx-standalone/recipes-bsp
parent3139698d558f038a913f8ac95384a2a493652930 (diff)
downloadmeta-xilinx-65101c31f2efe3f9274ac3d470349200dd47be7f.tar.gz
device-tree: Fix install directory
There was a typo in the patch that installed the psu_init code which initially tried to install files on the /var directory. Since this is a baremetal component, there is basically no convention on where files should be installed, for now to comply a bit more with bitbake, install these files on includedir to fix the install-vs-shipped issue. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Diffstat (limited to 'meta-xilinx-standalone/recipes-bsp')
-rw-r--r--meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend8
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
index 71ed4971..80eea0d0 100644
--- a/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
+++ b/meta-xilinx-standalone/recipes-bsp/device-tree/device-tree.bbappend
@@ -22,9 +22,7 @@ DT_INCLUDE_append = " ${WORKDIR}/git/device_tree/data/kernel_dtsi/2019.2/include
22 22
23 23
24do_install_append_cortexa53-zynqmp(){ 24do_install_append_cortexa53-zynqmp(){
25 install -d ${D}/var 25 install -d ${D}${includedir}/devicetree
26 install -m 0644 ${B}/${PN}/psu_init.c ${D}/boot/devicetree/psu_init.c 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}/boot/devicetree/psu_init.h 27 install -m 0644 ${B}/${PN}/psu_init.h ${D}/${includedir}/devicetree/psu_init.h
28} 28}
29
30FILES_${PN}-psu-init = "/boot/devicetree/psu_init.*"