1 ################################################################################
5 ################################################################################
7 KTAP_VERSION
= eb66d40310c93dc82bc8eac889744c1ed1f01f7b
8 KTAP_SITE
= $(call github
,ktap
,ktap
,$(KTAP_VERSION
))
10 KTAP_LICENSE_FILES
= LICENSE-GPL
12 ifeq ($(BR2_PACKAGE_ELFUTILS
),y
)
13 KTAP_DEPENDENCIES
+= elfutils
15 KTAP_FLAGS
+= NO_LIBELF
=1
18 define KTAP_BUILD_CMDS
19 $(MAKE
) -C
$(@D
) $(TARGET_CONFIGURE_OPTS
) $(KTAP_FLAGS
) ktap
22 define KTAP_INSTALL_TARGET_CMDS
23 $(INSTALL
) -D
-m755
$(@D
)/ktap
$(TARGET_DIR
)/usr
/bin
/ktap
26 KTAP_MODULE_MAKE_OPTS
= KVERSION
=$(LINUX_VERSION_PROBED
)
28 $(eval
$(kernel-module
))
29 $(eval
$(generic-package
))