mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-02 16:07:42 +00:00
package/libsodium: add config for full build
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>
This commit is contained in:
parent
4ee61b747d
commit
ad7963ea90
@ -4,3 +4,15 @@ config BR2_PACKAGE_LIBSODIUM
|
|||||||
A modern and easy-to-use crypto library.
|
A modern and easy-to-use crypto library.
|
||||||
|
|
||||||
http://libsodium.org/
|
http://libsodium.org/
|
||||||
|
|
||||||
|
if BR2_PACKAGE_LIBSODIUM
|
||||||
|
|
||||||
|
config BR2_PACKAGE_LIBSODIUM_FULL
|
||||||
|
bool "all functions"
|
||||||
|
default y
|
||||||
|
help
|
||||||
|
Build all seldom used and obsolete functions. Without
|
||||||
|
this option, only the minimal set of normally used
|
||||||
|
functions is built.
|
||||||
|
|
||||||
|
endif
|
||||||
|
@ -14,5 +14,11 @@ ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
|||||||
LIBSODIUM_CONF_OPTS += --disable-pie
|
LIBSODIUM_CONF_OPTS += --disable-pie
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBSODIUM_FULL),y)
|
||||||
|
LIBSODIUM_CONF_OPTS += --disable-minimal
|
||||||
|
else
|
||||||
|
LIBSODIUM_CONF_OPTS += --enable-minimal
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(autotools-package))
|
$(eval $(autotools-package))
|
||||||
$(eval $(host-autotools-package))
|
$(eval $(host-autotools-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user