[Buildroot] How do you add a package subdirectory?

Grant Edwards grant.b.edwards at gmail.com
Wed Apr 25 13:02:52 UTC 2012


On 2012-04-25, Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> wrote:
> Hi Grant,
>
> On Wed, Apr 25, 2012 at 12:23 AM, Grant Edwards
><grant.b.edwards at gmail.com> wrote:
>> I'm trying to add local packages to 2012.02, and I'd like them to live
>> in a subdirectory underneath "package" (e.g. package/mycompany).
[...]
>> The "mycompany" submenu shows up where it's supposed to,
[...]
>> But, when I actually do the "make", buildroot won't attempt to build
>> packages "foo" and "bar" unless I create symlinks in the packages
>> directory that point to the corresponding directories in the mycompany
>> subdirectory
[...]

> Have a look at http://elinux.org/images/2/2a/Using-buildroot-real-project.pdf,
> pages 27-28 where this scenario is described.

Cool.  There should be a link to this on the "Documentation" page.

> What I think you are missing is the top-level .mk file in
> /package/company/company.mk which includes all sub-mk files.

That's it.  I swear I looked for files like that and they weren't
there yesterday...

Thanks!

-- 
Grant Edwards               grant.b.edwards        Yow! If elected, Zippy
                                  at               pledges to each and every
                              gmail.com            American a 55-year-old
                                                   houseboy ...




More information about the buildroot mailing list