08f2325084
As pointed out by Arnout, racehound does not require kernel headers 3.14-or-later. So, drop this depenency. It stills require a kernel >= 3.14 to build and run, but we really have no way to express that dependency as Kconfig options. Besides, racehound does not build with kernel 4.5 because the struct modules has been updated. Bump racehound to fix that build failure. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Peter Korsgaard <peter@korsgaard.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
844 B
Makefile
28 lines
844 B
Makefile
################################################################################
|
|
#
|
|
# racehound
|
|
#
|
|
################################################################################
|
|
|
|
RACEHOUND_VERSION = f09f06fcc3c77c8c5541be3ba5be80aa8148ce0c
|
|
RACEHOUND_SITE = $(call github,winnukem,racehound,$(RACEHOUND_VERSION))
|
|
RACEHOUND_LICENSE = GPLv2
|
|
RACEHOUND_LICENSE_FILES = LICENSE
|
|
RACEHOUND_SUPPORTS_IN_SOURCE_BUILD = NO
|
|
|
|
RACEHOUND_DEPENDENCIES = elfutils linux
|
|
|
|
# override auto detection (uses host parameters, not cross compile
|
|
# ready)
|
|
RACEHOUND_CONF_OPTS += \
|
|
-DKERNEL_VERSION_OK=YES \
|
|
-DMODULE_BUILD_SUPPORTED=YES \
|
|
-DKERNEL_CONFIG_OK=YES \
|
|
-DKBUILD_BUILD_DIR=$(LINUX_DIR) \
|
|
-DKBUILD_VERSION_STRING=$(LINUX_VERSION_PROBED)
|
|
|
|
# cross compile environment for linux kernel module
|
|
RACEHOUND_MAKE_ENV = $(LINUX_MAKE_FLAGS)
|
|
|
|
$(eval $(cmake-package))
|