lkml.org 
[lkml]   [2000]   [Mar]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Additional patch for toplevel Makefile driver lists
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site