![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 lines
522 B
Makefile
19 lines
522 B
Makefile
################################################################################
|
|
#
|
|
# gflags
|
|
#
|
|
################################################################################
|
|
|
|
GFLAGS_VERSION = v2.2.0
|
|
GFLAGS_SITE = $(call github,gflags,gflags,$(GFLAGS_VERSION))
|
|
GFLAGS_INSTALL_STAGING = YES
|
|
GFLAGS_LICENSE = BSD-3-Clause
|
|
GFLAGS_LICENSE_FILES = COPYING.txt
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
|
|
GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF \
|
|
-DCMAKE_CXX_FLAGS="$(TARGET_CXXFLAGS) -DNO_THREADS"
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|