From: Sam Ravnborg <sam@ravnborg.org>
To: Massimo Maiurana <maiurana@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] kconfig: fix broken target update-po-config
Date: Fri, 25 Apr 2008 21:10:45 +0200 [thread overview]
Message-ID: <20080425191045.GA11263@uranus.ravnborg.org> (raw)
In-Reply-To: <480FAC63.6060109@gmail.com>
On Wed, Apr 23, 2008 at 11:38:43PM +0200, Massimo Maiurana wrote:
> In the latest kernel "make update-po-config" fails because it tries
> to open arch/Kconfig/Kconfig, since the ls command doesn't
> distinguish between files and directories.
>
> trivial patch below.
Thanks.
Your patch was MIME damaged so when looking closer at it I
decided for a simpler approach:
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 32e8c5a..fa1a7d5 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -36,10 +36,10 @@ update-po-config: $(obj)/kxgettext $(obj)/gconf.glade.h
--output $(obj)/config.pot
$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
- $(Q)(for i in `ls arch/`; \
+ $(Q)(for i in `ls arch/*/Kconfig`; \
do \
echo " GEN $$i"; \
- $(obj)/kxgettext arch/$$i/Kconfig \
+ $(obj)/kxgettext $$i \
>> $(obj)/config.pot; \
done )
$(Q)msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
Sam
prev parent reply other threads:[~2008-04-25 19:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-23 21:38 [PATCH] kconfig: fix broken target update-po-config Massimo Maiurana
2008-04-25 19:10 ` Sam Ravnborg [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080425191045.GA11263@uranus.ravnborg.org \
--to=sam@ravnborg.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maiurana@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox