[patch] 2.4.19-pre8 Prevent cl2llc.c corrupting linked files

From: Keith Owens (kaos@ocs.com.au)
Date: Thu May 23 2002 - 21:41:46 EST


When cl2llc.c is a multi-linked file, any build will affect all the
other copies. cl2llc.c should not even be in the kernel tarball but AC
says that 802 is being cleaned up, so do just the minimal fix.

Index: 19-pre8.1/net/802/Makefile
--- 19-pre8.1/net/802/Makefile Thu, 01 Nov 2001 00:41:41 +1100 kaos (linux-2.4/i/41_Makefile 1.2 644)
+++ 19-pre8.1(w)/net/802/Makefile Fri, 24 May 2002 12:37:13 +1000 kaos (linux-2.4/i/41_Makefile 1.2 644)
@@ -57,4 +57,5 @@ endif
 include $(TOPDIR)/Rules.make
 
 cl2llc.c: cl2llc.pre
+ @rm -f $@
         sed -f ./pseudo/opcd2num.sed cl2llc.pre >cl2llc.c

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu May 23 2002 - 22:00:32 EST