| 1 | #!/bin/sh |
| 2 | |
| 3 | #make an ecos epk from CVS lwIP |
| 4 | CURRENT=$EPK/net/lwip_tcpip/current |
| 5 | mkdir -p `dirname $CURRENT/$2` |
| 6 | |
| 7 | #prepend eCos license text to all files but the ones |
| 8 | #in the ppp directory: those have the advertising clause |
| 9 | #type of BSD license which is not compatible with GPL |
| 10 | #or that's what I'be been told and IANAL |
| 11 | if [ "`dirname $1`" != "src/netif/ppp" ]; then |
| 12 | #cat header $LWIP_CVS/$1 > $CURRENT/$2 |
| 13 | cp -f $LWIP_CVS/$1 $CURRENT/$2 |
| 14 | else |
| 15 | cp -f $LWIP_CVS/$1 $CURRENT/$2 |
| 16 | fi |