+++ /dev/null
-menu "Configuration"
- depends on PACKAGE_freecwmp-curl
-
-config FREECWMP_SCRIPTS_FULL
- bool "Install all freecwmp scripts"
- default y
-
-choice
- prompt "Select ACS sever"
- default FREECWMP_ACS_MULTI
-
-config FREECWMP_ACS_MULTI
- bool "No specific ACS, follow standard"
-
-config FREECWMP_ACS_HDM
- bool "HDM"
-endchoice
-
-config FREECWMP_DEBUG
- bool "Compile with debug options"
- default n
-
-config FREECWMP_DEVEL_DEBUG
- bool "Compile with development debug options"
- default n
-
-endmenu
+++ /dev/null
-menu "Configuration"
- depends on PACKAGE_freecwmp-zstream
-
-config FREECWMP_SCRIPTS_FULL
- bool "Install all freecwmp scripts"
- default y
-
-choice
- prompt "Select ACS sever"
- default FREECWMP_ACS_MULTI
-
-config FREECWMP_ACS_MULTI
- bool "No specific ACS, follow standard"
-
-config FREECWMP_ACS_HDM
- bool "HDM"
-endchoice
-
-config FREECWMP_DEBUG
- bool "Compile with debug options"
- default n
-
-config FREECWMP_DEVEL_DEBUG
- bool "Compile with development debug options"
- default n
-
-endmenu
--- /dev/null
+if PACKAGE_freecwmp-curl || PACKAGE_freecwmp-zstream
+
+config FREECWMP_SCRIPTS_FULL
+ bool "Install all freecwmp scripts"
+ default y
+
+choice
+ prompt "Select ACS sever"
+ default FREECWMP_ACS_MULTI
+
+config FREECWMP_ACS_MULTI
+ bool "No specific ACS, follow standard"
+
+config FREECWMP_ACS_HDM
+ bool "HDM"
+endchoice
+
+config FREECWMP_DEBUG
+ bool "Compile with debug options"
+ default n
+
+config FREECWMP_DEVEL_DEBUG
+ bool "Compile with development debug options"
+ default n
+
+endif
SECTION:=utils
CATEGORY:=Utilities
TITLE:=CWMP client
- DEPENDS:=+libubox +libmicroxml +shflags @BROKEN
- MENU:=1
+ DEPENDS:=+libuci +libubox +libmicroxml +shflags
endef
define Package/freecwmp/description
define Package/freecwmp-curl
$(call Package/freecwmp/Default)
TITLE+= (using libcurl)
- DEPENDS += +libcurl
+ DEPENDS+= +libcurl
VARIANT:=curl
endef
define Package/freecwmp-zstream
$(call Package/freecwmp/Default)
- TITLE += (using libzstream)
- DEPENDS += +libzstream
+ TITLE+= (using libzstream)
+ DEPENDS+= +libzstream
VARIANT:=zstream
endef
-define Package/freecwmp-curl/config
- source "$(SOURCE)/Config-curl.in"
-endef
-
define Package/freecwmp-zstream/config
- source "$(SOURCE)/Config-zstream.in"
+ source "$(SOURCE)/Config.in"
endef
USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)