mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
The diffstat tool is part of HOSTTOOLS. To support hosts that do not have it installed with buildtools-tarball it must be enabled for nativesdk. (From OE-Core rev: 3a4ac9d028e6d7840660bb9640614d92fd89246f) Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0ed002422bc46539f1d71ed19ee17358b6691bf0) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
BlitzBasic
32 lines
1.0 KiB
BlitzBasic
SUMMARY = "Tool to produce a statistics based on a diff"
|
|
DESCRIPTION = "diffstat reads the output of diff and displays a histogram of \
|
|
the insertions, deletions, and modifications per-file. It is useful for \
|
|
reviewing large, complex patch files."
|
|
HOMEPAGE = "http://invisible-island.net/diffstat/"
|
|
SECTION = "devel"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://install-sh;endline=42;md5=b3549726c1022bee09c174c72a0ca4a5"
|
|
|
|
SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
|
|
file://run-ptest \
|
|
file://avoid-check-user-break-cc.patch \
|
|
file://0001-aclocal.m4-add-missing-header-defines.patch \
|
|
"
|
|
|
|
SRC_URI[md5sum] = "b9272ec8af6257103261ec3622692991"
|
|
SRC_URI[sha256sum] = "7eddd53401b99b90bac3f7ebf23dd583d7d99c6106e67a4f1161b7a20110dc6f"
|
|
|
|
S = "${WORKDIR}/diffstat-${PV}"
|
|
|
|
inherit autotools gettext ptest
|
|
|
|
EXTRA_AUTORECONF += "--exclude=aclocal"
|
|
|
|
LDFLAGS += "${TOOLCHAIN_OPTIONS}"
|
|
|
|
do_install_ptest() {
|
|
cp -r ${S}/testing ${D}${PTEST_PATH}
|
|
}
|
|
|
|
BBCLASSEXTEND = "nativesdk"
|