![Adrien Gallouët](/assets/img/avatar_default.png)
A new option is added to build all functions. This option was implicitly used before, so it is activated by default to avoid unpleasant surprises. Signed-off-by: Adrien Gallouët <adrien@gallouet.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
25 lines
641 B
Makefile
25 lines
641 B
Makefile
################################################################################
|
|
#
|
|
# libsodium
|
|
#
|
|
################################################################################
|
|
|
|
LIBSODIUM_VERSION = 1.0.18
|
|
LIBSODIUM_SITE = https://download.libsodium.org/libsodium/releases
|
|
LIBSODIUM_LICENSE = ISC
|
|
LIBSODIUM_LICENSE_FILES = LICENSE
|
|
LIBSODIUM_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
|
LIBSODIUM_CONF_OPTS += --disable-pie
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBSODIUM_FULL),y)
|
|
LIBSODIUM_CONF_OPTS += --disable-minimal
|
|
else
|
|
LIBSODIUM_CONF_OPTS += --enable-minimal
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|