mkepk

来自「NXPl788上lwip的无操作系统移植,基于Embest开发板」· 代码 · 共 29 行

TXT
29
字号
#!/bin/sh

#make an ecos epk from CVS lwIP

if test $EPK"" == "" ; then
	echo you must set the EPK environment var to the dir you want the EPK in
	exit;
fi

if test $LWIP_CVS"" == "" ; then
	echo you must set the LWIP_CVS  environment var to the dir you checked out the lwip module
	LWIP_CVS=../../../lwip;
	exit;
fi
EPK=$EPK/lwip_epk

#cleanup
rm -Rf $EPK


#copy files from CVS
xargs -n 2 ./copy  < files

#copy ecos specific files
cd ecos && find . ! -path '*CVS*' -a -type f -exec cp --parents {} $EPK \;
#make epk
cd $EPK && tar czf lwip.epk *

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?