From: Adam Nielsen <a.nielsen@shikadi.net>
To: buildroot@busybox.net
Subject: [Buildroot] binutils doesn't like -elf2flt option
Date: Wed, 19 Jun 2013 19:56:34 +1000 [thread overview]
Message-ID: <kprv8d$6iq$1@ger.gmane.org> (raw)
In-Reply-To: <20130619102133.7570dcd4@skate>
>> No I don't want the target binutils, but I don't seem to be able to disable
>> it. It's deselected in the buildroot config, but it still seems to be getting
>> compiled. How would I go about working out why? I'm not sure how to debug
>> all the make dependencies.
>
> ./support/script/graph-depends > dependencies.dot
> dot -Tpdf -o dependencies.pdf dependencies.dot
> <Your Preferred PDF Viewer> dependencies.pdf
Do I need to do anything special since I am using "make O=..." to keep the
output separate from the buildroot git repo? I get this when I run it in the
buildroot git folder:
$ ./support/scripts/graph-depends > dep.dot
File "./support/scripts/graph-depends", line 40
print "Usage: graph-depends [package-name]"
^
SyntaxError: invalid syntax
$ python2 ./support/scripts/graph-depends > dep.dot
Getting targets
Traceback (most recent call last):
File "./support/scripts/graph-depends", line 184, in <module>
for tg in targets:
TypeError: 'NoneType' object is not iterable
And if I run it in my output folder:
$ python2 ../../../buildroot/support/scripts/graph-depends > dep.dot
Getting targets
Getting dependencies for ['elf2flt', 'ncurses', 'zlib', 'nano', 'busybox',
'linux', 'rootfs-romfs', 'rootfs-tar', 'rootfs-cpio', 'rootfs-initramfs',
'rootfs-squashfs']
Error getting dependencies ['elf2flt', 'ncurses', 'zlib', 'nano', 'busybox',
'linux', 'rootfs-romfs', 'rootfs-tar', 'rootfs-cpio', 'rootfs-initramfs',
'rootfs-squashfs']
So I'm not sure whether I need to do something differently?
> Another solution is to pastebin your full .config file somewhere and
> give us the link, we may be able to point what's triggering the target
> binutils build.
Here's the link I posted earlier:
<http://www.shikadi.net/files/buildroot/2013-06-17.br.binutils_elf2flt_err.config>
but be aware I have made a few changes to buildroot itself (added a few new
config options), but none that I am aware of that would affect binutils.
Many thanks,
Adam.
next prev parent reply other threads:[~2013-06-19 9:56 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 10:26 [Buildroot] binutils doesn't like -elf2flt option Adam Nielsen
2013-06-16 16:03 ` Thomas Petazzoni
2013-06-17 6:22 ` Arnout Vandecappelle
2013-06-17 7:10 ` Adam Nielsen
2013-06-18 16:00 ` Arnout Vandecappelle
2013-06-18 20:34 ` Adam Nielsen
2013-06-19 6:25 ` Thomas Petazzoni
2013-06-19 8:03 ` Adam Nielsen
2013-06-19 8:21 ` Thomas Petazzoni
2013-06-19 9:56 ` Adam Nielsen [this message]
2013-06-19 10:06 ` Thomas Petazzoni
2013-06-19 10:11 ` Adam Nielsen
2013-06-19 10:16 ` Thomas Petazzoni
2013-06-20 9:16 ` Adam Nielsen
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='kprv8d$6iq$1@ger.gmane.org' \
--to=a.nielsen@shikadi.net \
--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 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.