Files
meta-qcom-extras/recipes-devtools/debugcc/debugcc_git.bb
Dmitry Baryshkov e14ab37331 debugcc: package Bjorn's debugcc tool
The debugcc tool can be useful on the target platforms. Add a recipe to
build corresponding package.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-12-01 05:12:01 +03:00

27 lines
736 B
BlitzBasic

SUMMARY = "A tool to debug Qualcomm clock controllers."
HOMEPAGE = "https://github.com/andersson/debugcc/"
SECTION = "devel"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://debugcc.c;beginline=5;endline=29;md5=5598b6b886a3af944e4d19bb7d947095"
SRC_URI = "\
git://github.com/andersson/debugcc.git;branch=master;protocol=https \
"
SRCREV = "9e99460893852fab26ab09ef25ed299f53fb1390"
PV = "0.0+git${SRCPV}"
S = "${WORKDIR}/git"
EXTRA_OEMAKE = "CC='${CC}' CPPFLAGS='${CPPFLAGS}' CFLAGS='${CFLAGS}' LDFLAGS='${LDFLAGS}'"
do_install() {
install -d ${D}${bindir}
install -m 0755 ${B}/debugcc ${D}${bindir}
for f in ${B}/*-debugcc ; do
ln -r -s -T ${D}${bindir}/debugcc ${D}${bindir}/`basename $f`
done
}