![Rahul Bedarkar](/assets/img/avatar_default.png)
We want to use SPDX identifier for license string as much as possible. SPDX short identifier for LGPLv2.1/LGPLv2.1+ is LGPL-2.1/LGPL-2.1+. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/LGPLv2.1(\+)?/LGPL-2.1\1/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
691 B
Makefile
24 lines
691 B
Makefile
################################################################################
|
|
#
|
|
# libuci
|
|
#
|
|
################################################################################
|
|
|
|
LIBUCI_VERSION = 49ec6efbdac4819033d34f08927d795f83a3932d
|
|
LIBUCI_SITE = git://git.openwrt.org/project/uci.git
|
|
LIBUCI_LICENSE = LGPL-2.1, GPL-2.0 (tools)
|
|
LIBUCI_INSTALL_STAGING = YES
|
|
LIBUCI_DEPENDENCIES = libubox
|
|
|
|
ifeq ($(BR2_PACKAGE_LUA_5_1),y)
|
|
LIBUCI_DEPENDENCIES += lua
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=ON \
|
|
-DLUAPATH=/usr/lib/lua/5.1 \
|
|
-DLUA_CFLAGS=-I$(STAGING_DIR)/usr/include
|
|
LIBUCI_LICENSE := $(LIBUCI_LICENSE), GPL-2.0 (lua bindings)
|
|
else
|
|
LIBUCI_CONF_OPTS += -DBUILD_LUA=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|