summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/ktap/ktap.inc
blob: e2e498f9f57af9e4a740ed65837313ddd49b26c2 (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
# Released under the MIT license (see COPYING.MIT for the terms)

HOMEPAGE = "http://www.ktap.org"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE-GPL;md5=eb723b61539feef013de476e68b5c50a"

PV = "0.4+gitr${SRCPV}"
SRCREV = "c8401e07c89cdec9a5f673da4ddb12b7982b522b"
SRC_URI = "git://github.com/ktap/ktap.git"

S = "${WORKDIR}/git"

# Package config is abused as a general compile time configuration tool.

# Only supports x86_64 for now!. Needs to be enabled for ktap-module too.
PACKAGECONFIG[ffi] = ""

# Needed to resolve symbols in DSO and for sdt
PACKAGECONFIG[libelf] = ",,elfutils"

PACKAGECONFIG ?= "libelf"

EXTRA_OEMAKE = " \
    ${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \
    ${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \
"