include ../../.config

WSCSRC = src

WSCDCONF = $(WSCSRC)/wscd.conf

ifeq ($(CONFIG_DLinkMV), y)
WSCDCONF = $(WSCSRC)/wscd_for_dlink.conf
endif

ifeq ($(CONFIG_TEW651BR), y)
WSCDCONF = $(WSCSRC)/wscd_for_tew651.conf
endif

ifeq ($(CONFIG_TEW652BRP), y)
WSCDCONF = $(WSCSRC)/wscd_for_tew652.conf
endif

ifeq ($(CONFIG_CAMEO2217), y)
WSCDCONF = $(WSCSRC)/wscd_for_cameo2217.conf
endif
 
all:
	@echo "builded"
clean:
	@echo "It's cleaned"
romfs:
	$(ROMFSINST) $(WSCSRC)/wscd_$(TOOLCHAIN) /bin/wscd
	$(ROMFSINST)  $(WSCDCONF) /etc/wscd.conf
	$(ROMFSINST) ../script/simplecfgservice.xml /etc/simplecfgservice.xml
	$(ROMFSINST) -s /var/wps /etc/simplecfg
