diff options
Diffstat (limited to 'import-layers/meta-openembedded/meta-oe/recipes-kernel/ktap/ktap.inc')
-rw-r--r-- | import-layers/meta-openembedded/meta-oe/recipes-kernel/ktap/ktap.inc | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/import-layers/meta-openembedded/meta-oe/recipes-kernel/ktap/ktap.inc b/import-layers/meta-openembedded/meta-oe/recipes-kernel/ktap/ktap.inc new file mode 100644 index 000000000..c214a020d --- /dev/null +++ b/import-layers/meta-openembedded/meta-oe/recipes-kernel/ktap/ktap.inc @@ -0,0 +1,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 = " \ + ${@bb.utils.contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \ +" |