From 53969f830f399096283aff586e2a0d72d46ffb5d Mon Sep 17 00:00:00 2001 From: jani Date: Tue, 16 Sep 2003 14:13:16 +0000 Subject: [PATCH] Do not add ecos copyright text to PPP sources since the two licenses conflict --- ports/ecos/copy | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ports/ecos/copy b/ports/ecos/copy index f4199be..a6e7961 100755 --- a/ports/ecos/copy +++ b/ports/ecos/copy @@ -4,4 +4,12 @@ CURRENT=$EPK/net/lwip_tcpip/current mkdir -p `dirname $CURRENT/$2` -cat header $LWIP_CVS/$1 > $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 +else + cp -f $LWIP_CVS/$1 $CURRENT/$2 +fi