All of lore.kernel.org
 help / color / mirror / Atom feed
From: Massimo Maiurana <maiurana@gmail.com>
To: sam@ravnborg.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] kconfig: fix broken target update-po-config
Date: Wed, 23 Apr 2008 23:38:43 +0200	[thread overview]
Message-ID: <480FAC63.6060109@gmail.com> (raw)

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




             reply	other threads:[~2008-04-23 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 21:38 Massimo Maiurana [this message]
2008-04-25 19:10 ` [PATCH] kconfig: fix broken target update-po-config Sam Ravnborg

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=480FAC63.6060109@gmail.com \
    --to=maiurana@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sam@ravnborg.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.