login
Header Space

 
 

[PATCH] kconfig: fix broken target update-po-config

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <sam@...>
Cc: <linux-kernel@...>
Date: Wednesday, April 23, 2008 - 5:38 pm

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.

Signed-off-by: Massimo Maiurana <maiurana@gmail.com>

---
diff -u linux/scripts/kconfig/Makefile linux.new/scripts/kconfig/Makefile
--- linux/scripts/kconfig/Makefile      2008-04-17 12:51:55.000000000 +0200
+++ linux.new/scripts/kconfig/Makefile  2008-04-23 18:32:13.000000000 +0200
@@ -36,7 +36,7 @@
             --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 `find ./arch -maxdepth 1 -mindepth 1 -type d | cut -c 8-`; \
             do                                           \
                 echo "  GEN $$i";                        \
                 $(obj)/kxgettext arch/$$i/Kconfig        \



-- 
        Massimo Maiurana         massimo<at>ragusa.linux.it
        http://massimo.solira.org       GPG keyID #7044D601

Articolo 11 - L'Italia ripudia la guerra come strumento di offesa
alla libertà degli altri popoli e come mezzo di risoluzione delle
controversie internazionali....



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] kconfig: fix broken target update-po-config, Massimo Maiurana, (Wed Apr 23, 5:38 pm)
Re: [PATCH] kconfig: fix broken target update-po-config, Sam Ravnborg, (Fri Apr 25, 3:10 pm)
speck-geostationary