mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
openssl: disable apps for NOMMU
The openssl binary uses fork() so disable the option and build for !MMU. Fixes http://autobuild.buildroot.net/results/45a9b84c16caadbf77b6fc43d7a0001c981a4c87/build-end.log Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
97de600d1d
commit
720893b625
@ -12,6 +12,8 @@ config BR2_PACKAGE_OPENSSL
|
|||||||
config BR2_PACKAGE_OPENSSL_BIN
|
config BR2_PACKAGE_OPENSSL_BIN
|
||||||
bool "openssl binary"
|
bool "openssl binary"
|
||||||
depends on BR2_PACKAGE_OPENSSL
|
depends on BR2_PACKAGE_OPENSSL
|
||||||
|
# uses fork()
|
||||||
|
depends on BR2_USE_MMU
|
||||||
help
|
help
|
||||||
Install the openssl binary to the target file system. This is a
|
Install the openssl binary to the target file system. This is a
|
||||||
command line tool for doing various crypthographic stuff.
|
command line tool for doing various crypthographic stuff.
|
||||||
|
@ -13,6 +13,15 @@ OPENSSL_DEPENDENCIES = zlib
|
|||||||
OPENSSL_TARGET_ARCH = generic32
|
OPENSSL_TARGET_ARCH = generic32
|
||||||
OPENSSL_CFLAGS = $(TARGET_CFLAGS)
|
OPENSSL_CFLAGS = $(TARGET_CFLAGS)
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_OPENSSL_BIN),)
|
||||||
|
define OPENSSL_DISABLE_APPS
|
||||||
|
$(SED) '/^build_apps/! s/build_apps//' $(@D)/Makefile.org
|
||||||
|
$(SED) '/^DIRS=/ s/apps//' $(@D)/Makefile.org
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
OPENSSL_PRE_CONFIGURE_HOOKS += OPENSSL_DISABLE_APPS
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
|
ifeq ($(BR2_PACKAGE_OPENSSL_OCF),y)
|
||||||
OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
|
OPENSSL_CFLAGS += -DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS
|
||||||
OPENSSL_DEPENDENCIES += ocf-linux
|
OPENSSL_DEPENDENCIES += ocf-linux
|
||||||
@ -84,14 +93,6 @@ ifneq ($(BR2_HAVE_DEVFILES),y)
|
|||||||
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_DEV_FILES
|
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_DEV_FILES
|
||||||
endif
|
endif
|
||||||
|
|
||||||
define OPENSSL_REMOVE_OPENSSL_BIN
|
|
||||||
rm -f $(TARGET_DIR)/usr/bin/openssl
|
|
||||||
endef
|
|
||||||
|
|
||||||
ifneq ($(BR2_PACKAGE_OPENSSL_BIN),y)
|
|
||||||
OPENSSL_POST_INSTALL_TARGET_HOOKS += OPENSSL_REMOVE_OPENSSL_BIN
|
|
||||||
endif
|
|
||||||
|
|
||||||
define OPENSSL_INSTALL_FIXUPS
|
define OPENSSL_INSTALL_FIXUPS
|
||||||
rm -f $(TARGET_DIR)/usr/bin/c_rehash
|
rm -f $(TARGET_DIR)/usr/bin/c_rehash
|
||||||
endef
|
endef
|
||||||
|
Loading…
x
Reference in New Issue
Block a user