summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/reference-design
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-06-16 22:00:05 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-06-16 22:04:17 +1000
commit64a342a2d76c2397c5dff1815e6c78af9f86b9e5 (patch)
tree9226a0f4411740bfa1c94107a2da33412cc716f2 /recipes-bsp/reference-design
parent510c4faa2b42200e59231c7a97f6d530b1f31097 (diff)
downloadmeta-xilinx-64a342a2d76c2397c5dff1815e6c78af9f86b9e5.tar.gz
zynq7-platform-init.inc: Use the new SYSROOT_DIRS variable
Convert the sysroot stage functions into paths in the SYSROOT_DIRS variable. This variable was added to OE-Core (commit id 80e7e7f). Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Diffstat (limited to 'recipes-bsp/reference-design')
-rw-r--r--recipes-bsp/reference-design/zybo-linux-bd.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/recipes-bsp/reference-design/zybo-linux-bd.bb b/recipes-bsp/reference-design/zybo-linux-bd.bb
index e951f58e..a3968ac2 100644
--- a/recipes-bsp/reference-design/zybo-linux-bd.bb
+++ b/recipes-bsp/reference-design/zybo-linux-bd.bb
@@ -45,6 +45,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
45 45
46inherit zynq7-platform-paths 46inherit zynq7-platform-paths
47 47
48SYSROOT_DIRS += "${PLATFORM_INIT_DIR}"
49
48do_install() { 50do_install() {
49 fn=$(unzip -l ${S}/${HDF} | awk '{print $NF}' | grep ".bit$") 51 fn=$(unzip -l ${S}/${HDF} | awk '{print $NF}' | grep ".bit$")
50 unzip -o ${S}/${HDF} ${fn} -d ${D} 52 unzip -o ${S}/${HDF} ${fn} -d ${D}
@@ -56,10 +58,6 @@ do_install() {
56 done 58 done
57} 59}
58 60
59sysroot_stage_all () {
60 sysroot_stage_dir ${D}${PLATFORM_INIT_DIR} ${SYSROOT_DESTDIR}/${PLATFORM_INIT_DIR}
61}
62
63do_deploy () { 61do_deploy () {
64 if [ -e ${D}/download.bit ]; then 62 if [ -e ${D}/download.bit ]; then
65 install -d ${DEPLOY_DIR_IMAGE} 63 install -d ${DEPLOY_DIR_IMAGE}