diff options
| -rw-r--r-- | meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb index 4b6d8905..ea3a9a34 100644 --- a/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb +++ b/meta-xilinx-bsp/recipes-kernel/lopper/lopper.bb | |||
| @@ -10,7 +10,7 @@ SRC_URI = "git://github.com/devicetree-org/lopper.git" | |||
| 10 | 10 | ||
| 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619" | 11 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619" |
| 12 | 12 | ||
| 13 | SRCREV = "9398385d3ac06419b25d34de21501bc7ac0e8ac3" | 13 | SRCREV = "f4389167a200c5d41ee276ff9ad67d01ef6f0aec" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | 16 | ||
| @@ -24,11 +24,18 @@ do_compile() { | |||
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | do_install() { | 26 | do_install() { |
| 27 | datadirrelpath=${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))} | 27 | datadirrelpath=${@os.path.relpath(d.getVar('datadir'), d.getVar('bindir'))} |
| 28 | |||
| 29 | mkdir -p ${D}/${bindir} | ||
| 30 | mkdir -p ${D}/${datadir}/lopper | ||
| 31 | |||
| 32 | cp -r ${S}/README* ${D}/${datadir}/lopper/. | ||
| 33 | cp -r ${S}/assists* ${D}/${datadir}/lopper/. | ||
| 34 | cp -r ${S}/lop* ${D}/${datadir}/lopper/. | ||
| 35 | cp -r ${S}/LICENSE* ${D}/${datadir}/lopper/. | ||
| 36 | cp -r ${S}/device-tree* ${D}/${datadir}/lopper/. | ||
| 37 | cp -r ${S}/.gitignore ${D}/${datadir}/lopper/. | ||
| 28 | 38 | ||
| 29 | mkdir -p ${D}/${bindir} | ||
| 30 | mkdir -p ${D}/${datadir}/lopper | ||
| 31 | cp -r ${S}/* ${D}/${datadir}/lopper/. | ||
| 32 | ln -s ${datadirrelpath}/lopper/lopper.py ${D}/${bindir}/. | 39 | ln -s ${datadirrelpath}/lopper/lopper.py ${D}/${bindir}/. |
| 33 | } | 40 | } |
| 34 | 41 | ||
