Files
Martin Jansa 5768dda687 ktap: add libelf PACKAGECONFIG also to ktap-module
* building ktap-module without elfutils fails with:
  ktap-module/0.4-r0/git/Makefile:107: No libelf found, disables symbol resolving, please install elfutils-libelf-devel/libelf-dev

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-11-09 12:35:29 +01:00

26 lines
756 B
PHP

# 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"
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)} \
"