hydra: fix build issues with hydra recipe in sumo

hydra receipt has been divided into two separated recipes:
- 'hydra' for kernel module
- 'hydra-util' for user utility
hydra is currently fetched from sumo branch on hydra repository
hydra is added as default package to nrhw20-fct image

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
This commit is contained in:
Patrick Zysset 2018-06-14 21:57:50 +02:00
parent 90246f2bde
commit 29b190252d
2 changed files with 17 additions and 15 deletions

View File

@ -0,0 +1,17 @@
SUMMARY = "Hydra util"
DESCRIPTION = "Hydra util to verify atsha204"
SECTION = "utils"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
RDEPENDS_${PN} += "hydra"
SRC_URI = "git://git.netmodule.intranet/nmrouter/hydra.git;protocol=ssh;user=gitea;branch=sumo"
SRCREV = "cdebefc3475b2411085081a0e6b717ef9f612701"
# INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
S = "${WORKDIR}/git/tools_src"
FILES_${PN} = "/usr/bin"

View File

@ -4,8 +4,6 @@ SECTION = "utils"
LICENSE = "Proprietary"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
RDEPENDS_${PN}-util += "${PN}"
SRC_URI = "git://git.netmodule.intranet/nmrouter/hydra.git;protocol=ssh;user=gitea"
SRCREV = "c4b7fd3726d5e42852290871e4f457d8188a60f3"
@ -15,16 +13,3 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
S = "${WORKDIR}/git/kernel_src"
PACKAGES += "${PN}-util"
FILES_${PN}-util = "/usr/bin"
do_compile_append() {
cd ../tools_src
oe_runmake
}
do_install_append() {
install -d ${D}/usr/bin
install -m 0775 ${S}/../tools_src/hydra-util ${D}/usr/bin
}