[PATCH] Additional patch for toplevel Makefile driver lists

From: Brian Gerst (bgerst@quark.vpplus.com)
Date: Sat Mar 18 2000 - 20:56:40 EST


Some shells (bash 2.x specifically) don't like environment variables
with dashes in them. This patch makes them not exported. This problem
doesn't show up in the other makefiles because they do not export all
their variables to the environment like the toplevel Makefile does.
This is also the root of the problem with xargs.

Linus, this is a resend of the patch to you. I'm not certain it made it
to you the first time.

--- Makefile.bak Sat Mar 18 17:40:35 2000
+++ Makefile Sat Mar 18 20:44:37 2000
@@ -164,6 +164,9 @@
 
 DRIVERS += $(DRIVERS-y)
 
+# Some shells choke on env vars with '-' in them
+unexport DRIVERS-y DRIVERS-m DRIVERS-n DRIVERS-
+
 include arch/$(ARCH)/Makefile
 
 # use '-fno-strict-aliasing', but only if the compiler can take it

-- 

Brian Gerst

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



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:25 EST