Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Trying to build in an usual place: /opt instead of /
@ 2009-12-01 13:10 Olivier Perron
  2009-12-01 13:21 ` Lionel Landwerlin
  0 siblings, 1 reply; 10+ messages in thread
From: Olivier Perron @ 2009-12-01 13:10 UTC (permalink / raw)
  To: buildroot

Hello all,

I'm trying to build a basic buildroot system that would go in /opt on
the target. I'm doing this just because there is already another linux
system running from / and I want to add my own "enhanced" one that has
to be fully independent from the original one. Hence everything has to
go in another folder: /opt for instance.

So far, I've tweaked some config files and some .mk files to reach my
goal. I have managed to get uclibc installed in /opt/lib and some
userland binaries in /opt/usr/bin.
But, yes there is a but... all my dynamically linked binaries try to
find the dynamic linker in /lib (e.g. /lib/ld-uClibc.so.0) where as
the linker is /opt/lib/ld-uClibc.so.
I had a look at the generated libc and ld-uClibc and they all have
/opt/lib/ld-uClibc.so hardcoded in them as I was expecting. So I'm
quite not so sure where to look now to resolve that issue.
It looks like I have configured uclibc correctly but the linked
binaries are still wrong.
Maybe I also have to adapt the configuration for gcc or binutils ? I
had a look at the .mk files but cannot find easily what to change...
So I'd be very grateful if someone could point me to the right direction !

Regards
Olivier

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2009-12-04 17:23 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-01 13:10 [Buildroot] Trying to build in an usual place: /opt instead of / Olivier Perron
2009-12-01 13:21 ` Lionel Landwerlin
2009-12-01 14:10   ` Olivier Perron
2009-12-01 14:18     ` Olivier Perron
2009-12-01 14:23       ` Lionel Landwerlin
2009-12-01 18:42       ` Michael S. Zick
2009-12-04 15:49         ` Olivier Perron
2009-12-04 16:12           ` Michael S. Zick
2009-12-04 16:30             ` Olivier Perron
2009-12-04 17:23               ` Michael S. Zick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox