SUMMARY = "A set of utilities to help QCA driver development."
HOMEPAGE = "https://github.com/qca/qca-swiss-army-knife"
SECTION = "devel"

LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=884c3f3a874b2a0cfa283c7db0e5d604"

SRCREV = "5ede3cc07e9a52f115101c28f833242b772eeaab"
SRC_URI = " \
	git://github.com/qca/${BPN}.git;branch=master;protocol=https \
	file://0001-ath10k-bdencoder-Switch-to-python3.patch \
	file://0002-ath10k-bdencoder-Add-option-to-switch-to-ath11k-mode.patch \
"

PV = "0.0+${SRCPV}"
S = "${WORKDIR}/git"

do_install () {
	install -d ${D}/${bindir}
	install -m 0755 tools/scripts/*/* ${D}/${bindir}
}

BBCLASSEXTEND = "native nativesdk"

SUMMARY = "A set of utilities to help QCA driver development."
HOMEPAGE = "https://github.com/qca/qca-swiss-army-knife"
SECTION = "devel"

LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=884c3f3a874b2a0cfa283c7db0e5d604"

SRCREV = "5ede3cc07e9a52f115101c28f833242b772eeaab"
SRC_URI = " \
	git://github.com/qca/${BPN}.git;branch=master;protocol=https \
	file://0001-ath10k-bdencoder-Switch-to-python3.patch \
	file://0002-ath10k-bdencoder-Add-option-to-switch-to-ath11k-mode.patch \
"

PV = "0.0+${SRCPV}"
S = "${WORKDIR}/git"

do_install () {
	install -d ${D}/${bindir}
	install -m 0755 tools/scripts/*/* ${D}/${bindir}
}

BBCLASSEXTEND = "native nativesdk"

RDEPENDS_${PN} += "perl python3-core"

Add perl and python to rdeps
qca-swiss-army-knife: Add perl and python to rdeps

Addresses
ERROR: QA Issue: /usr/bin/ath10k-bdencoder contained in package qca-swiss-army-knife requires /usr/bin/python3, but no providers found in RDEPENDS_qca-swiss-army-knife? [file-rdeps]
ERROR: QA Issue: /usr/bin/read-powers contained in package qca-swiss-army-knife requires /usr/bin/python, but no providers found in RDEPENDS_qca-swiss-army-knife? [file-rdeps]
ERROR: QA Issue: /usr/bin/irq-watch contained in package qca-swiss-army-knife requires /usr/bin/perl, but no providers found in RDEPENDS_qca-swiss-army-knife? [file-rdeps]

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
