[Buildroot] How do you add a package subdirectory?
Grant Edwards
grant.b.edwards at gmail.com
Tue Apr 24 22:23:39 UTC 2012
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). I've
created the "mycompany" directory which contains a Config.in that
declares a submenu that in turn sources the individual package
Config.in files: package/mycompany/foo/Config.in,
package/mycompany/bar/Config.in, etc.
The "mycompany" submenu shows up where it's supposed to, and that menu
has the entries for "foo" and "bar" as it should. Selecting those
entries sets BR2_PACKAGE_FOO in the .config file as expected.
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 like this:
package/foo -> mycompany/foo
package/bar -> mycompany/bar
Inside foo.mk, bar.mk the various settings/commands have the
"mycompany" directory in them, and once buildroot _finds_ the .mk
files, they build fine.
I've searched the existing scripts and .in files for some mechanism
that's used by the other packages that live in subdirectories
underneat packages, but couldn't find anything. As far as I can tell,
I've done everything in my new subdirectory exactly the same way it's
done in the other subdirectories, but it just doesn't work.
How does buildroot know that when BR2_PACKAGE_AUMIX is set it's
supposed to look for package/multimedia/aumix/aumix.mk and not
package/aumix/aumix.mk?
How do I get buildroot to look in package/mycompany for the foo and
bar package directories?
--
Grant Edwards grant.b.edwards Yow! I'm definitely not
at in Omaha!
gmail.com
More information about the buildroot
mailing list