mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-11-06 04:05:03 +00:00
17 lines
479 B
Bash
Executable File
17 lines
479 B
Bash
Executable File
#!/bin/sh
|
|
|
|
#make an ecos epk from CVS lwIP
|
|
CURRENT=$EPK/net/lwip_tcpip/current
|
|
mkdir -p `dirname $CURRENT/$2`
|
|
|
|
#prepend eCos license text to all files but the ones
|
|
#in the ppp directory: those have the advertising clause
|
|
#type of BSD license which is not compatible with GPL
|
|
#or that's what I'be been told and IANAL
|
|
if [ "`dirname $1`" != "src/netif/ppp" ]; then
|
|
#cat header $LWIP_CVS/$1 > $CURRENT/$2
|
|
cp -f $LWIP_CVS/$1 $CURRENT/$2
|
|
else
|
|
cp -f $LWIP_CVS/$1 $CURRENT/$2
|
|
fi
|