2015-05-23 00:18:41 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# racehound
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2016-04-13 22:24:37 +02:00
|
|
|
RACEHOUND_VERSION = f09f06fcc3c77c8c5541be3ba5be80aa8148ce0c
|
2015-05-23 00:18:41 +02:00
|
|
|
RACEHOUND_SITE = $(call github,winnukem,racehound,$(RACEHOUND_VERSION))
|
2017-03-30 15:43:32 +02:00
|
|
|
RACEHOUND_LICENSE = GPL-2.0
|
2015-05-23 00:18:41 +02:00
|
|
|
RACEHOUND_LICENSE_FILES = LICENSE
|
|
|
|
RACEHOUND_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
|
|
|
|
RACEHOUND_DEPENDENCIES = elfutils linux
|
|
|
|
|
2015-07-16 23:24:12 +02:00
|
|
|
# override auto detection (uses host parameters, not cross compile
|
|
|
|
# ready)
|
2015-05-23 00:18:41 +02:00
|
|
|
RACEHOUND_CONF_OPTS += \
|
|
|
|
-DKERNEL_VERSION_OK=YES \
|
|
|
|
-DMODULE_BUILD_SUPPORTED=YES \
|
|
|
|
-DKERNEL_CONFIG_OK=YES \
|
2015-07-16 23:24:12 +02:00
|
|
|
-DKBUILD_BUILD_DIR=$(LINUX_DIR) \
|
|
|
|
-DKBUILD_VERSION_STRING=$(LINUX_VERSION_PROBED)
|
|
|
|
|
|
|
|
# cross compile environment for linux kernel module
|
|
|
|
RACEHOUND_MAKE_ENV = $(LINUX_MAKE_FLAGS)
|
2015-05-23 00:18:41 +02:00
|
|
|
|
|
|
|
$(eval $(cmake-package))
|