af31c309e7
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
927 B
Makefile
28 lines
927 B
Makefile
################################################################################
|
|
#
|
|
# checkpolicy
|
|
#
|
|
################################################################################
|
|
|
|
CHECKPOLICY_VERSION = 2.6
|
|
CHECKPOLICY_SITE = https://raw.githubusercontent.com/wiki/SELinuxProject/selinux/files/releases/20161014
|
|
CHECKPOLICY_LICENSE = GPL-2.0
|
|
CHECKPOLICY_LICENSE_FILES = COPYING
|
|
|
|
HOST_CHECKPOLICY_DEPENDENCIES = host-libselinux host-flex host-bison
|
|
|
|
HOST_CHECKPOLICY_MAKE_OPTS = $(HOST_CONFIGURE_OPTS) \
|
|
LEX="$(HOST_DIR)/usr/bin/flex" \
|
|
YACC="$(HOST_DIR)/usr/bin/bison -y"
|
|
|
|
# DESTDIR is used at build time to find host-libselinux
|
|
define HOST_CHECKPOLICY_BUILD_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) DESTDIR=$(HOST_DIR)
|
|
endef
|
|
|
|
define HOST_CHECKPOLICY_INSTALL_CMDS
|
|
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CHECKPOLICY_MAKE_OPTS) DESTDIR=$(HOST_DIR) install
|
|
endef
|
|
|
|
$(eval $(host-generic-package))
|