Skip to content

Instantly share code, notes, and snippets.

@lolsborn
Last active October 30, 2016 01:00
Show Gist options
  • Save lolsborn/266dc03c19060f2fd9c97a9597dc0220 to your computer and use it in GitHub Desktop.
Save lolsborn/266dc03c19060f2fd9c97a9597dc0220 to your computer and use it in GitHub Desktop.
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# ls
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# ls
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/openzwave-1.0# cd ..
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# l
build/ configure.sstate git/ license-destdir/ openzwave-1.0/ pseudo/ sstate-install-populate_lic/ temp/
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# ls
build configure.sstate git license-destdir openzwave-1.0 pseudo sstate-install-populate_lic temp
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0# cd git
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/git# ls
ChangeLog INSTALL Makefile README.md config cpp debian dist.mk distfiles.mk docs dotnet license makedist openzwave.dsc openzwave.spec
root@ip-172-30-0-5:~/mender-work/poky/build/tmp/work/cortexa8hf-neon-poky-linux-gnueabi/openzwave/1.0-r0/git#
inherit autotools
SRC_URI = "git://github.com/OpenZWave/open-zwave.git"
SRCREV = "master"
LICENSE = "LGPLv3"
DEPENDS + "systemd"
LIC_FILES_CHKSUM = "file://git/license/license.txt;md5=584c7ddacb8739db77ddcc47bd9d3b52"
do_install() {
export PREFIX="${D}${prefix}"
export pkgconfigdir="${PKG_CONFIG_DIR}"
export instlibdir="${D}${prefix}${base_libdir}"
make BITBAKE_ENV=1 install
}
do_compile() {
export PREFIX="${D}${prefix}"
export pkgconfigdir="${PKG_CONFIG_DIR}"
export instlibdir="${D}${prefix}${base_libdir}"
make BITBAKE_ENV=1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment