From: ito at mlb.co.jp <ito@mlb.co.jp>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [patch] mkconfig crates bad symlink
Date: Wed, 05 Apr 2006 23:27:00 +0900 (JST) [thread overview]
Message-ID: <20060405.232700.48804054.ito@mlb.co.jp> (raw)
Hello
mkconfig creates include/asm-*/arch.
but some board this symbolic link is broken and not necessary.
with this patch, mkconfig wil create a sym-link when there is a
directory to link.
Signed-off-by: Hiroshi Ito <ito@mlb.co.jp>
CHANGELOG:
* mkconfig will not create broken symlink.
Patch by Hiroshi Ito, 5 Apr 2006
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255 FAX +81-3-5294-7256
-------------- next part --------------
diff -x .git -uNr u-boot.git.org/mkconfig u-boot.git/mkconfig
--- u-boot.git.org/mkconfig 2006-04-05 06:49:16.000000000 +0900
+++ u-boot.git/mkconfig 2006-04-04 07:18:43.000000000 +0900
@@ -33,7 +33,9 @@
rm -f asm-$2/arch
if [ -z "$6" -o "$6" = "NULL" ] ; then
- ln -s arch-$3 asm-$2/arch
+ if [ -d arch-$3 ]; then
+ ln -s arch-$3 asm-$2/arch
+ fi
else
ln -s arch-$6 asm-$2/arch
fi
reply other threads:[~2006-04-05 14:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20060405.232700.48804054.ito@mlb.co.jp \
--to=ito@mlb.co.jp \
--cc=u-boot@lists.denx.de \
/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.