Skip to contentSkip to conversation

pcitest: add PCI testing app

PATCH New Denys Dmytriyenko 1 participant 1 message Feb 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pcitest: add PCI testing app

---
 .../recipes-kernel/pcitest/pcitest_4.9.bb            | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-arago-extras/recipes-kernel/pcitest/pcitest_4.9.bb
meta-arago-extras/recipes-kernel/pcitest/pcitest_4.9.bb new file +20 -0
new file mode 100644
index 0000000..718dc45
@@ -0,0 +1,20 @@
+SUMMARY = "Linux Kernel PCI test"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+BRANCH = "ti-lsk-linux-4.9.y"
+SRCREV = "b4aa954ead9260eaf7138755fc9d062a9f4630eb"
+SRC_URI = "git://git.ti.com/ti-linux-kernel/ti-linux-kernel.git;protocol=git;branch=${BRANCH}"
+
+S = "${WORKDIR}/git"
+
+do_compile () {
+	cd ${S}/tools/pci
+	${CC} ${CFLAGS} ${LDFLAGS} -o pcitest pcitest.c
+}
+
+do_install () {
+	install -d ${D}${bindir}
+	install -m 0755 ${S}/tools/pci/pcitest ${D}${bindir}
+	install -m 0755 ${S}/tools/pci/pcitest.sh ${D}${bindir}
+}
Signature · 1 line
2.7.4