From d6e7caf197c10b448da873c27cf5ef89f9bcf4b2 Mon Sep 17 00:00:00 2001 From: Arnaud Lacombe 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