Move all to deprecated folder.
This commit is contained in:
30
deprecated/firmware/buildroot/package/ktap/Config.in
Normal file
30
deprecated/firmware/buildroot/package/ktap/Config.in
Normal file
@@ -0,0 +1,30 @@
|
||||
config BR2_PACKAGE_KTAP
|
||||
bool "ktap"
|
||||
depends on BR2_LINUX_KERNEL
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
ktap is a script-based dynamic tracing tool for Linux
|
||||
|
||||
It uses a scripting language and lets users trace the Linux kernel
|
||||
dynamically. ktap is designed to give operational insights with
|
||||
interoperability that allows users to tune, troubleshoot and extend
|
||||
kernel and application. It's similar to Linux Systemtap and
|
||||
Solaris Dtrace.
|
||||
|
||||
ktap doesn't support kernels older than 3.1.
|
||||
|
||||
To be able to resolve symbols in DSO and for sdt, you need to enable
|
||||
elfutils.
|
||||
|
||||
Your kernel must have CONFIG_EVENT_TRACING,
|
||||
CONFIG_PERF_EVENTS, and CONFIG_DEBUG_FS enabled to compile.
|
||||
|
||||
Buildroot automatically enables these in the kernel configuration.
|
||||
|
||||
http://www.ktap.org
|
||||
|
||||
comment "ktap needs a Linux kernel to be built"
|
||||
depends on !BR2_LINUX_KERNEL
|
||||
|
||||
comment "ktap needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
29
deprecated/firmware/buildroot/package/ktap/ktap.mk
Normal file
29
deprecated/firmware/buildroot/package/ktap/ktap.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# ktap
|
||||
#
|
||||
################################################################################
|
||||
|
||||
KTAP_VERSION = eb66d40310c93dc82bc8eac889744c1ed1f01f7b
|
||||
KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION))
|
||||
KTAP_LICENSE = GPLv2
|
||||
KTAP_LICENSE_FILES = LICENSE-GPL
|
||||
|
||||
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_FLAGS) ktap
|
||||
endef
|
||||
|
||||
define KTAP_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -D -m755 $(@D)/ktap $(TARGET_DIR)/usr/bin/ktap
|
||||
endef
|
||||
|
||||
KTAP_MODULE_MAKE_OPTS = KVERSION=$(LINUX_VERSION_PROBED)
|
||||
|
||||
$(eval $(kernel-module))
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user