diff options
author | Anders Darander <anders@chargestorm.se> | 2013-12-18 19:57:03 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2013-12-19 21:29:36 +0100 |
commit | 12a9c3f29538c78e54e14f6817a952ee77a6aa72 (patch) | |
tree | b5f9f6a0e823dd8dd47de9a2fe1f7b07a62e1d4f /package/ktap/ktap.mk | |
parent | f7f241b5eace3c2f558626b0c9c0a7e8a1aad24b (diff) | |
download | buildroot-12a9c3f29538c78e54e14f6817a952ee77a6aa72.tar.gz buildroot-12a9c3f29538c78e54e14f6817a952ee77a6aa72.zip |
ktap: update to v0.4
Add a check for BR2_PACKAGE_ELFUTILS; if this is enabled, then try to link
against libelf from the elfutils package. This allows ktap to resolve
symbols in userspace.
The new FFI functionality in ktap is not exposed, as it currently only
supports x86_64...
Signed-off-by: Anders Darander <anders@chargestorm.se>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/ktap/ktap.mk')
-rw-r--r-- | package/ktap/ktap.mk | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/package/ktap/ktap.mk b/package/ktap/ktap.mk index a5d277a5aa..2c73138477 100644 --- a/package/ktap/ktap.mk +++ b/package/ktap/ktap.mk @@ -4,7 +4,7 @@ # ################################################################################ -KTAP_VERSION = v0.3 +KTAP_VERSION = v0.4 KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION)) KTAP_SOURCE = v$(KTAP_VERSION).tar.gz KTAP_LICENSE = GPLv2 @@ -12,8 +12,14 @@ KTAP_LICENSE_FILES = LICENSE-GPL KTAP_DEPENDENCIES = linux +ifeq ($(BR2_PACKAGE_ELFUTILS),y) +KTAP_DEPENDENCIES += elfutils +else +KTAP_FLAGS += NO_LIBELF=1 +endif + define KTAP_BUILD_CMDS - $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) ktap + $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) $(KTAP_FLAGS) ktap $(MAKE) -C $(@D) $(LINUX_MAKE_FLAGS) KERNEL_SRC=$(LINUX_DIR) KVERSION=$(LINUX_VERSION_PROBED) mod endef |