| 1 | #!/bin/shscip-shell filesystem . . `/bin/sh`. |
| 2 | |
| 3 | #make an ecos epk from CVS lwIP |
| 4 | CURRENT=$EPK/net/lwip_tcpip/current |
| 5 | mkdirscip-shell system . . mkdir. -p `dirnamescip-shell system . . 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 [scip-shell system . . `[`. "`dirnamescip-shell system . . dirname. $1`" != "src/netif/ppp" ]; then |
| 12 | #cat header $LWIP_CVS/$1 > $CURRENT/$2 |
| 13 | cpscip-shell system . . cp. -f $LWIP_CVS/$1 $CURRENT/$2 |
| 14 | else |
| 15 | cpscip-shell system . . cp. -f $LWIP_CVS/$1 $CURRENT/$2 |
| 16 | fi |