invalid character 45 in exportstr for include-config

Matthew Wilcox (willy@debian.org)
Sun, 3 Nov 2002 03:18:35 +0000


Anyone else seeing this error message? I figured out what it _actually_
means is that the character `-' is not permitted in the symbol being
exported. so if we change include-config to include_config in Makefile
and scripts/Makefile.build, everything is fine.

How about the following patch?

diff -u -p -r1.1.2.6 Makefile
--- Makefile 31 Oct 2002 17:26:55 -0000 1.1.2.6
+++ Makefile 3 Nov 2002 03:15:06 -0000
@@ -214,7 +216,7 @@ SUBDIRS :=

ifeq ($(filter $(noconfig_targets),$(MAKECMDGOALS)),)

-export include-config := 1
+export include_config := 1

-include .config

diff -u -p -r1.1.2.1 Makefile.build
--- scripts/Makefile.build 31 Oct 2002 17:28:39 -0000 1.1.2.1
+++ scripts/Makefile.build 3 Nov 2002 03:15:06 -0000
@@ -7,7 +7,7 @@ src := $(obj)
.PHONY: __build
__build:

-ifdef include-config
+ifdef include_config
include .config
endif

-- 
Revolutions do not require corporate support.
-
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/