|
@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=openwisp-config |
|
|
PKG_NAME:=openwisp-config |
|
|
PKG_VERSION:=0.4.5 |
|
|
PKG_VERSION:=0.4.5 |
|
|
PKG_RELEASE:=1 |
|
|
|
|
|
|
|
|
PKG_RELEASE:=2 |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) |
|
|
PKG_SOURCE_PROTO:=git |
|
|
PKG_SOURCE_PROTO:=git |
|
@ -34,8 +34,6 @@ endef |
|
|
Package/openwisp-config-openssl=$(call Package/openwisp-config/default,openssl,OpenSSL,+ca-certificates +libopenssl) |
|
|
Package/openwisp-config-openssl=$(call Package/openwisp-config/default,openssl,OpenSSL,+ca-certificates +libopenssl) |
|
|
Package/openwisp-config-mbedtls=$(call Package/openwisp-config/default,mbedtls,mbedTLS,+ca-certificates +libmbedtls) |
|
|
Package/openwisp-config-mbedtls=$(call Package/openwisp-config/default,mbedtls,mbedTLS,+ca-certificates +libmbedtls) |
|
|
Package/openwisp-config-cyassl=$(call Package/openwisp-config/default,cyassl,CyaSSL,+ca-certificates +libcyassl) |
|
|
Package/openwisp-config-cyassl=$(call Package/openwisp-config/default,cyassl,CyaSSL,+ca-certificates +libcyassl) |
|
|
# deprecated on recent versions of OpenWRT (>= Designated Driver) and LEDE (>= 17.01)
|
|
|
|
|
|
Package/openwisp-config-polarssl=$(call Package/openwisp-config/default,polarssl,PolarSSL,+ca-certificates +libpolarssl) |
|
|
|
|
|
Package/openwisp-config-nossl=$(call Package/openwisp-config/default,nossl,No SSL) |
|
|
Package/openwisp-config-nossl=$(call Package/openwisp-config/default,nossl,No SSL) |
|
|
|
|
|
|
|
|
define Build/Compile |
|
|
define Build/Compile |
|
@ -54,9 +52,6 @@ endif |
|
|
ifeq ($(BUILD_VARIANT),cyassl) |
|
|
ifeq ($(BUILD_VARIANT),cyassl) |
|
|
CONFIG_OPENWISP_UCI:=ssl |
|
|
CONFIG_OPENWISP_UCI:=ssl |
|
|
endif |
|
|
endif |
|
|
ifeq ($(BUILD_VARIANT),polarssl) |
|
|
|
|
|
CONFIG_OPENWISP_UCI:=ssl |
|
|
|
|
|
endif |
|
|
|
|
|
ifeq ($(BUILD_VARIANT),nossl) |
|
|
ifeq ($(BUILD_VARIANT),nossl) |
|
|
CONFIG_OPENWISP_UCI:=nossl |
|
|
CONFIG_OPENWISP_UCI:=nossl |
|
|
endif |
|
|
endif |
|
@ -115,5 +110,4 @@ endef |
|
|
$(eval $(call BuildPackage,openwisp-config-openssl)) |
|
|
$(eval $(call BuildPackage,openwisp-config-openssl)) |
|
|
$(eval $(call BuildPackage,openwisp-config-mbedtls)) |
|
|
$(eval $(call BuildPackage,openwisp-config-mbedtls)) |
|
|
$(eval $(call BuildPackage,openwisp-config-cyassl)) |
|
|
$(eval $(call BuildPackage,openwisp-config-cyassl)) |
|
|
$(eval $(call BuildPackage,openwisp-config-polarssl)) |
|
|
|
|
|
$(eval $(call BuildPackage,openwisp-config-nossl)) |
|
|
$(eval $(call BuildPackage,openwisp-config-nossl)) |