lopper: update to work with upstream
Update lopper to work with upstream as follows:
use latest commit
update do_install such that only relevant files are installed, not
dependency mgmt related artifacts as yocto otherwise handles this
@@ -10,7 +10,7 @@ SRC_URI = "git://github.com/devicetree-org/lopper.git"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=8e5f5f691f01c9fdfa7a7f2d535be619"
-SRCREV = "9398385d3ac06419b25d34de21501bc7ac0e8ac3"
+SRCREV = "f4389167a200c5d41ee276ff9ad67d01ef6f0aec"
S = "${WORKDIR}/git"
@@ -28,7 +28,14 @@ do_install() {
mkdir -p ${D}/${bindir}
mkdir -p ${D}/${datadir}/lopper
- cp -r ${S}/* ${D}/${datadir}/lopper/.
+
+ cp -r ${S}/README* ${D}/${datadir}/lopper/.
+ cp -r ${S}/assists* ${D}/${datadir}/lopper/.
+ cp -r ${S}/lop* ${D}/${datadir}/lopper/.
+ cp -r ${S}/LICENSE* ${D}/${datadir}/lopper/.
+ cp -r ${S}/device-tree* ${D}/${datadir}/lopper/.
+ cp -r ${S}/.gitignore ${D}/${datadir}/lopper/.
+
ln -s ${datadirrelpath}/lopper/lopper.py ${D}/${bindir}/.
}
