Message ID | CACqU3MX4=AQyH4TXi+LaHV6WWRsLZpGf7c=iwQHm6Mqsr6SgYA@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Wed, 2011-07-13 at 22:41 -0400, Arnaud Lacombe wrote: > yes... it could not have. I missed a $(srctree), an export, and an > error check. Attached patch should fix it, behavior (see below) with > this patch is consistent between v3.0-rc6 and the tip of the patched > branch. That seems to work. Could you resend a fixed patchset? > > Btw, as of v3.0-rc6, localmodconfig does not produce a valid .config. > Local kernel is a Fedora 14 kernel, based on > config-2.6.35.13-91.fc14.x86_64. The perl script complete fine, but > the config is then restarted, I'm not sure if it is the intended > behavior. Hmm, not sure exactly what you mean. The script should run (silent)oldconfig after it does the localmodconfig to fill in the stuff that it caused to change. Did you notice something that broke? -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
From d6e7caf197c10b448da873c27cf5ef89f9bcf4b2 Mon Sep 17 00:00:00 2001 From: Arnaud Lacombe <lacombar@gmail.com> Date: Wed, 13 Jul 2011 22:29:24 -0400 Subject: [PATCH] fix --- scripts/kconfig/Makefile | 4 +++- scripts/kconfig/localconfig.sh | 2 ++ 2 files changed, 5 insertions(+), 1 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index d48ddc9..1bf4375 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Makefile @@ -11,6 +11,8 @@ else Kconfig := Kconfig endif +export Kconfig + xconfig: $(obj)/qconf $< $(Kconfig) @@ -34,7 +36,7 @@ silentoldconfig: $(obj)/conf $< --$@ $(Kconfig) localyesconfig localmodconfig: $(obj)/streamline_config.pl $(obj)/conf - $(Q)$(src)/localconfig.sh + $(Q)$(srctree)/$(src)/localconfig.sh # Create new linux.pot file # Adjust charset to UTF-8 in .po file to accept UTF-8 in Kconfig files diff --git a/scripts/kconfig/localconfig.sh b/scripts/kconfig/localconfig.sh index 64dd295..f8185fb 100755 --- a/scripts/kconfig/localconfig.sh +++ b/scripts/kconfig/localconfig.sh @@ -1,6 +1,8 @@ #!/bin/sh # +set -e + mkdir -p include/generated perl "${srctree}/scripts/kconfig/streamline_config.pl" ${srctree}/ ${Kconfig} $1 > .tmp.config -- 1.7.3.4.574.g608b.dirty