aboutsummaryrefslogtreecommitdiffstats
path: root/meta-arago-extras/recipes-core/am-sysinfo/am-sysinfo_git.bb
blob: 207c24d1ca29111ae520c23881eae9efa97c4ee4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY = "AM SysInfo"
HOMEPAGE = "https://gforge.ti.com/gf/project/am_sysinfo/"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://mem_util/mem_util.c;beginline=1;endline=37;md5=8aa8e714ab729cfe8177298af8a5a25d"

SECTION = "system"

PACKAGE_STRIP = "no"
PR = "r10"

BRANCH ?= "master"
SRCREV = "5df7da69a50d27b7f594db0918c5e6793c3a6237"

SRC_URI = "git://git.ti.com/apps/am_sysinfo.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

do_compile() {
	export CROSS_COMPILE=${TARGET_PREFIX}
	export CFLAGS='${TARGET_CC_ARCH}'
	# build the release version
	oe_runmake release CC="${CC}"
}

do_install() {
	install -d ${D}/${bindir}
	install -m 0755 ${S}/mem_util/Release/mem_util ${D}/${bindir}
}