kumquat-buildroot/package/ktap/ktap.mk
Fabrice Fontaine 43e36f3acd package/ktap: drop spurious space
Drop spurious space added by commit
3e1e7db3cc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2021-12-02 18:12:06 +01:00

37 lines
980 B
Makefile

################################################################################
#
# ktap
#
################################################################################
KTAP_VERSION = 23bc7a4a94bd9e4e1b8b7c06632e61c041d57b5f
KTAP_SITE = $(call github,ktap,ktap,$(KTAP_VERSION))
KTAP_LICENSE = GPL-2.0
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)
define KTAP_LINUX_CONFIG_FIXUPS
$(call KCONFIG_ENABLE_OPT,CONFIG_DEBUG_FS)
$(call KCONFIG_ENABLE_OPT,CONFIG_ENABLE_DEFAULT_TRACERS)
$(call KCONFIG_ENABLE_OPT,CONFIG_PERF_EVENTS)
$(call KCONFIG_ENABLE_OPT,CONFIG_FUNCTION_TRACER)
endef
$(eval $(kernel-module))
$(eval $(generic-package))