[OpenWrt-Devel] [PATCH V2] reduce the build dependencies for ustream-ssl

thomas.langer at lantiq.com thomas.langer at lantiq.com
Tue Sep 23 03:51:32 EDT 2014


without this change, all 3 ssl libraries are always built,
even if no ssl support was selected in menuconfig

reduce this to cyassl as it is the default variant

Signed-off-by: Thomas Langer <thomas.langer at lantiq.com>
---

V2: don't change/remove build dependency of uhttpd

applies for trunk and 14.07 (BB)

diff --git a/package/libs/ustream-ssl/Makefile b/package/libs/ustream-ssl/Makefile
--- a/package/libs/ustream-ssl/Makefile
+++ b/package/libs/ustream-ssl/Makefile
@@ -32,7 +32,7 @@ endef
 define Package/libustream-openssl
   $(Package/libustream/default)
   TITLE += (openssl)
-  DEPENDS += +libopenssl
+  DEPENDS += +PACKAGE_libustream-openssl:libopenssl
   VARIANT:=openssl
 endef
 
@@ -46,7 +46,7 @@ endef
 define Package/libustream-polarssl
   $(Package/libustream/default)
   TITLE += (polarssl)
-  DEPENDS += +libpolarssl
+  DEPENDS += +PACKAGE_libustream-polarssl:libpolarssl
   VARIANT:=polarssl
 endef
 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list