diff options
author | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-01-16 15:21:21 -0300 |
---|---|---|
committer | Eneas U de Queiroz <cotequeiroz@gmail.com> | 2020-01-17 08:08:13 -0300 |
commit | 6a5f7920e96ca8718129041c048d638c62e65959 (patch) | |
tree | c7df2b40be6229717f93b9085c54e4b151767c28 /libs | |
parent | b59f7eb8310263b49ca80309daad6b9b99d2277b (diff) |
afalg_engine: fix ENGINES location, zero-copy
Use a fixed ENGINES_DIR location, instead of trying to read it from the
openssl Makefile.
It also fixes the zero-copy config option not being passed down to the
cmake options.
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'libs')
-rw-r--r-- | libs/afalg_engine/Makefile | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/libs/afalg_engine/Makefile b/libs/afalg_engine/Makefile index 2ec653edc..9da969a43 100644 --- a/libs/afalg_engine/Makefile +++ b/libs/afalg_engine/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=afalg_engine PKG_VERSION:=1.0.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://github.com/cotequeiroz/afalg_engine/archive/v$(PKG_VERSION) @@ -22,10 +22,7 @@ PKG_CONFIG_DEPENDS:= CONFIG_AFALG_ZERO_COPY include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/cmake.mk -$(eval $(shell grep "^ENGINES_DIR" "$(TOPDIR)/package/libs/openssl/Makefile")) -ifeq ($(ENGINES_DIR),) - ENGINES_DIR:=engines-1.1 -endif +ENGINES_DIR:=engines-1.1 define Package/libopenssl-afalg_sync SECTION:=libs @@ -59,7 +56,7 @@ endef CMAKE_OPTIONS += \ -DOPENSSL_ENGINES_DIR=/usr/lib/$(ENGINES_DIR) \ - -DUSE_ZERO_COPY=$(if $(AFALG_ZERO_COPY),ON,OFF) + -DUSE_ZERO_COPY=$(if $(CONFIG_AFALG_ZERO_COPY),ON,OFF) define Package/libopenssl-afalg_sync/install $(INSTALL_DIR) $(1)/usr/lib/$(ENGINES_DIR) |