Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] development environment
@ 2009-12-17 20:31 Marcel
  2009-12-17 21:47 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Marcel @ 2009-12-17 20:31 UTC (permalink / raw)
  To: buildroot

Hi,

I'm trying to create a workable environment to work with buildroot for the 
following :

I use a stable buildroot (which I may regularly upgrade) and will be adding 
kernel modules, board configurations and packages for my own design.
The documentation is very clear how to add the packages, so that's no issue.

The issue I have is that I want to use CVS for my own developed files and need 
to set up a workable environment to work efficiently to create patches for 
buildroot. On the other hand, just creating patches is not a real option as I 
should be able to compile just one kernel module in order to efficiently test it 
without requiring a full rebuild of the kernel. Rebuilding the kernel module 
would require me to edit the patched files within buildroot, but it's very hard 
to use CVS from that environment because my files are all over the place in 
buildroot. I can copy files, but this isn't very good practice either.

I've been trying some things over the past few days but every idea I come up 
with is very inefficient.

Does anyone have some tips regarding an efficient workflow ?

Best regards,
Marcel


 

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [Buildroot] development environment
@ 2009-01-06 20:08 Aaron Hanson
  0 siblings, 0 replies; 5+ messages in thread
From: Aaron Hanson @ 2009-01-06 20:08 UTC (permalink / raw)
  To: buildroot

Hi All -

        I'm having great success creating a complete target image and booting it. Buildroot is wonderful. But I want development tools in the target system, and I'm getting a very basic error when I try to use gcc:

# gcc foo.c
/usr/bin/ld: cannot find -lgcc
collect2: ld returned 1 exit status

        I work around this with a symlink:

/usr/lib/libgcc.so -> libgcc_s.so.1

        But then I'm stuck:

# gcc foo.c
/usr/bin/ld: cannot find /usr/lib/uclibc_nonshared.a
collect2: ld returned 1 exit status

        It seems I've not built the toolchain correctly. I'm using buildroot and uclibc menu-config and throwing in all the development options I can find. Does this particular problem have an obvious meaning to anybody? Is there a static-lib setting that I'm missing?

        Thanks...

-Aaron

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-17 20:31 [Buildroot] development environment Marcel
2009-12-17 21:47 ` Peter Korsgaard
2009-12-18  1:10   ` Daniel Mack
2009-12-18 17:36     ` Marcel
  -- strict thread matches above, loose matches on Subject: below --
2009-01-06 20:08 Aaron Hanson

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