[packages] freecwmp: should fix defconfig issue

git-svn-id: svn://svn.openwrt.org/openwrt/packages@32410 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
luka 2012-06-17 16:28:30 +00:00
parent 5570ad2abb
commit f358359185
3 changed files with 7 additions and 40 deletions

View File

@ -1,27 +0,0 @@
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

View File

@ -1,5 +1,4 @@
menu "Configuration" if PACKAGE_freecwmp-curl || PACKAGE_freecwmp-zstream
depends on PACKAGE_freecwmp-curl
config FREECWMP_SCRIPTS_FULL config FREECWMP_SCRIPTS_FULL
bool "Install all freecwmp scripts" bool "Install all freecwmp scripts"
@ -24,4 +23,4 @@ config FREECWMP_DEVEL_DEBUG
bool "Compile with development debug options" bool "Compile with development debug options"
default n default n
endmenu endif

View File

@ -33,8 +33,7 @@ define Package/freecwmp/Default
SECTION:=utils SECTION:=utils
CATEGORY:=Utilities CATEGORY:=Utilities
TITLE:=CWMP client TITLE:=CWMP client
DEPENDS:=+libubox +libmicroxml +shflags @BROKEN DEPENDS:=+libuci +libubox +libmicroxml +shflags
MENU:=1
endef endef
define Package/freecwmp/description define Package/freecwmp/description
@ -44,23 +43,19 @@ endef
define Package/freecwmp-curl define Package/freecwmp-curl
$(call Package/freecwmp/Default) $(call Package/freecwmp/Default)
TITLE+= (using libcurl) TITLE+= (using libcurl)
DEPENDS += +libcurl DEPENDS+= +libcurl
VARIANT:=curl VARIANT:=curl
endef endef
define Package/freecwmp-zstream define Package/freecwmp-zstream
$(call Package/freecwmp/Default) $(call Package/freecwmp/Default)
TITLE += (using libzstream) TITLE+= (using libzstream)
DEPENDS += +libzstream DEPENDS+= +libzstream
VARIANT:=zstream VARIANT:=zstream
endef endef
define Package/freecwmp-curl/config
source "$(SOURCE)/Config-curl.in"
endef
define Package/freecwmp-zstream/config define Package/freecwmp-zstream/config
source "$(SOURCE)/Config-zstream.in" source "$(SOURCE)/Config.in"
endef endef
USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1) USE_LOCAL=$(shell ls ./src/ 2>/dev/null >/dev/null && echo 1)