[Buildroot] Help understanding how to develop with buildroot

Peter Korsgaard jacmet at uclibc.org
Thu Dec 3 10:30:57 UTC 2009


>>>>> "Mike" == Mike Crowe <drmikecrowe at gmail.com> writes:

Hi,

 Mike> Apologies if this is obvious, but I haven't been able to find the
 Mike> right words to search for it:

 Mike> It appears that BR copies my new package from packages/ to
 Mike> build_arm/ and compiles it.

Yes. Notice that the 2009.11 release is out now, and it has a somewhat
different (simpler) build directory layout.

 Mike> However, if I have to do a lot of source code changes, it appears
 Mike> that I should edit the build_arm directory and then sync it back
 Mike> to packages when I have it running.

Yes, if you need to patch something in the package sources, you'll need
to make a patch (quilt is nice for this) and copy it to
package/<something>/. Make sure you name it <something>-*.patch
otherwise it won't be applied.

What exactly is it that you are changing? If you're fixing something
general, then please submit those patches to the package upstream and us
so we can integrate it into buildroot.

 Mike> Is this the right flow?  Are there any instructions or tools to help do this?

It is, but it's pretty uncommon to have to do project specific patching
of the packages.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list