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 target update-po-config in Makefile
Date: Sat, 02 Feb 2008 16:13:40 +0100	[thread overview]
Message-ID: <47A488A4.8040107@gmail.com> (raw)

Due to recent changes in arch/cris, "make update-po-config" fails
because it can't include arch/cris/arch as it is a symlink generated
at build time.
Patch below fixes this by creating, and then removing at the end, a
symlink to arch/cris/arch-v10 (should it point to arch-v32? arch-v10
contains more help messages).

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

---
diff -Nru linux/scripts/kconfig/Makefile linux.new/scripts/kconfig/Makefile
--- linux/scripts/kconfig/Makefile	2008-01-25 13:05:12.000000000 +0100
+++ linux.new/scripts/kconfig/Makefile	2008-02-02 15:40:48.000000000 +0100
@@ -35,13 +35,14 @@
 	    --output $(obj)/config.pot
 	$(Q)sed -i s/CHARSET/UTF-8/ $(obj)/config.pot
 	$(Q)ln -fs Kconfig.i386 arch/um/Kconfig.arch
+	$(Q)ln -fs arch-v10 arch/cris/arch
 	(for i in `ls arch/`;                            \
 	do                                               \
 	    $(obj)/kxgettext arch/$$i/Kconfig;           \
 	done ) >> $(obj)/config.pot
 	msguniq --sort-by-file --to-code=UTF-8 $(obj)/config.pot \
 	    --output $(obj)/linux.pot
-	$(Q)rm -f arch/um/Kconfig.arch
+	$(Q)rm -f arch/um/Kconfig.arch arch/cris/arch
 	$(Q)rm -f $(obj)/config.pot

 PHONY += randconfig allyesconfig allnoconfig allmodconfig defconfig


-- 
       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-02-02 16:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 15:13 Massimo Maiurana [this message]
2008-02-02 15:38 ` [PATCH] kconfig: fix target update-po-config in Makefile 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=47A488A4.8040107@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.