diff options
Diffstat (limited to 'recipes/tegrastats/tegrastats.bb')
-rw-r--r-- | recipes/tegrastats/tegrastats.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/tegrastats/tegrastats.bb b/recipes/tegrastats/tegrastats.bb new file mode 100644 index 0000000..3d40f2b --- /dev/null +++ b/recipes/tegrastats/tegrastats.bb @@ -0,0 +1,26 @@ +DESCRIPTION = "tegrastats, gives information about cpu use" +LICENSE = "Nvidia propriatry" +PR = "r1" + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +#SRC_URI = "file://tegrastats \ +# " + +S = "${WORKDIR}/target-utils/tegrastats" + +SVN_REV = "230" +SRC_URI = "svn://tegradev:tegra123!@mammut.toradex.int:8090/colibri_tegra_linux/trunk;module=target-utils/tegrastats;rev=${SVN_REV};proto=http" + +PACKAGES = "${PN}" + +#FILES_${PN} = + +do_compile() { + ${CC} -DNV_IS_LDK=1 ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} ${S}/main.c -o tegrastats +} + +do_install() { + install -d ${D}/usr/bin + install -m 0755 ${S}/tegrastats ${D}/usr/bin +} |