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:
parent
90246f2bde
commit
29b190252d
|
|
@ -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"
|
||||||
|
|
||||||
|
|
@ -4,8 +4,6 @@ SECTION = "utils"
|
||||||
LICENSE = "Proprietary"
|
LICENSE = "Proprietary"
|
||||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
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"
|
SRC_URI = "git://git.netmodule.intranet/nmrouter/hydra.git;protocol=ssh;user=gitea"
|
||||||
SRCREV = "c4b7fd3726d5e42852290871e4f457d8188a60f3"
|
SRCREV = "c4b7fd3726d5e42852290871e4f457d8188a60f3"
|
||||||
|
|
||||||
|
|
@ -15,16 +13,3 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
|
||||||
|
|
||||||
S = "${WORKDIR}/git/kernel_src"
|
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
|
|
||||||
}
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue