]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kconfig: fix broken target update-po-config
authorSam Ravnborg <sam@uranus.ravnborg.org>
Fri, 25 Apr 2008 19:15:41 +0000 (21:15 +0200)
committerSam Ravnborg <sam@uranus.ravnborg.org>
Fri, 25 Apr 2008 19:15:41 +0000 (21:15 +0200)
Massimo Maiurana reported:
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.

Cc: Massimo Maiurana <maiurana@gmail.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/kconfig/Makefile

index 32e8c5a227c3a28bab34514da98e1491d057bef4..fa1a7d565903075ef39d12ba69ecf580b3c37de9 100644 (file)
@@ -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 \