kumquat-buildroot/package/racehound/racehound.mk
Peter Seiderer 0ad6ee7f36 racehound: fix kernel module compile
- check for linux kernel >= 3.14
- add cross compile enviornment for linux kernel compile
- add additional kernel config hint (CONFIG_KALLSYMS_ALL)
- fix kernel module install path

[Thomas:
 - fix Config.in dependency logic for the comment on the kernel
   version, as noticed by Baruch.
 - minor improvements in the .mk file.]

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-26 18:42:36 +02:00

28 lines
844 B
Makefile

################################################################################
#
# racehound
#
################################################################################
RACEHOUND_VERSION = f3375911019607a0cb6a15bf68fa62dadd6b790b
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))