Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] mii-diag static problem
Date: Wed, 27 Jun 2012 22:08:37 +0200	[thread overview]
Message-ID: <87sjdg5xh6.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <CAL0cBcqPeAwdWO57QLxo0-bRrSckxkvWECer0aGkiEDdQxEQDA@mail.gmail.com> (Jonas Keidel's message of "Wed, 27 Jun 2012 16:23:48 +0200")

>>>>> "Jonas" == Jonas Keidel <jonas@jonas-keidel.de> writes:

 Jonas> Hey baruch,

 Jonas> There is noch error message, i just need to get mii-diag (or
 Jonas> even better mii-tool) compiled the static way, so that it will
 Jonas> work with busybox and my configuration. Is that possible?

We have the 'Build options->prefer static libraries' option, but
mii-diag wasn't following it until a few minutes ago when I committed a
fix (a0f965d).

With that fixed, it works:

file output/target/usr/sbin/mii-diag
output/target/usr/sbin/mii-diag: ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped

cat defconfig
BR2_arm=y
BR2_arm926t=y
BR2_PREFER_STATIC_LIB=y
BR2_PACKAGE_MII_DIAG=y

So with latest git it is possible.

-- 
Bye, Peter Korsgaard

      reply	other threads:[~2012-06-27 20:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-27 13:50 [Buildroot] mii-diag static problem jonas at jonas-keidel.de
2012-06-27 14:12 ` Baruch Siach
2012-06-27 14:23 ` Jonas Keidel
2012-06-27 20:08   ` Peter Korsgaard [this message]

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=87sjdg5xh6.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox