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

From: Massimo Maiurana
Date: Wed Apr 23 2008 - 18:39:00 EST


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@xxxxxxxxx>

---
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....



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/