![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
846 B
Makefile
28 lines
846 B
Makefile
################################################################################
|
|
#
|
|
# racehound
|
|
#
|
|
################################################################################
|
|
|
|
RACEHOUND_VERSION = f09f06fcc3c77c8c5541be3ba5be80aa8148ce0c
|
|
RACEHOUND_SITE = $(call github,winnukem,racehound,$(RACEHOUND_VERSION))
|
|
RACEHOUND_LICENSE = GPL-2.0
|
|
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))
|