summaryrefslogtreecommitdiffstats
path: root/package/racehound/racehound.mk
blob: 7d8d1e3542e4cee8b40f1241a680fefee9de7563 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# 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))
OpenPOWER on IntegriCloud