include $(DIR_USERS)/.config
include $(DIR_LINUX)/.config

all :
	echo "script"
romfs :
	@cp *.sh $(DIR_ROMFS)/bin/
	@cp ../script_dbg/* $(DIR_ROMFS)/bin/
ifeq ($(CONFIG_APP_WSC),y)
	$(ROMFSINST) simplecfgservice.xml /etc/simplecfgservice.xml
	$(ROMFSINST) -s /var/wps /etc/simplecfg
endif
#Ricky Cao: Below is added for include the configuration of kernel
#           We can include it to script to separate the operation in script
	sed -e '/^#/d' $(DIR_LINUX)/.config > .config
	chmod 755 .config
	$(ROMFSINST) .config /bin/config.sh
#Ricky Cao: Above is added for include the configuration of kernel
