Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 2 | |
| 3 | HOMEPAGE = "http://www.ktap.org" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE-GPL;md5=eb723b61539feef013de476e68b5c50a" |
| 6 | |
| 7 | PV = "0.4+gitr${SRCPV}" |
| 8 | SRCREV = "c8401e07c89cdec9a5f673da4ddb12b7982b522b" |
| 9 | SRC_URI = "git://github.com/ktap/ktap.git" |
| 10 | |
| 11 | S = "${WORKDIR}/git" |
| 12 | |
| 13 | # Package config is abused as a general compile time configuration tool. |
| 14 | |
| 15 | # Only supports x86_64 for now!. Needs to be enabled for ktap-module too. |
| 16 | PACKAGECONFIG[ffi] = "" |
| 17 | |
| 18 | # Needed to resolve symbols in DSO and for sdt |
| 19 | PACKAGECONFIG[libelf] = ",,elfutils" |
| 20 | |
| 21 | PACKAGECONFIG ?= "libelf" |
| 22 | |
| 23 | EXTRA_OEMAKE = " \ |
| 24 | ${@bb.utils.contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \ |
| 25 | ${@bb.utils.contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \ |
| 26 | " |