[Buildroot] Overriding Buildroot packages

Hajime Branko Yamasaki Vukelic branko at brankovukelic.com
Tue Nov 24 13:43:21 UTC 2015


Hi everyone!

I've set up my build such that all modification are done in
BR2_EXTERNAL directory, and I have a submodule that points to
unmodified upstream buildroot sources.

I've been trying to find a way to override a package that is normally
provided by Buildroot. By 'override' I mean completely swap it with
another package definition, possibly with different patches, etc.

Right now I've created a package that has a completely different name
(e.g., for package 'foo', I have 'foo-custom'), but this breaks
dependencies for packages that would otherwise depend on the original.

I've dug into pkg-generic.mk and I see that it may not really be
possible, but I wanted to confirm. Can someone tell me if I'm missing
something or this really isn't possible without modifying the
buildroot version of the package?

-- 
Branko
branko at brankovukelic.com

/dev/blog: brankovukelic.com



More information about the buildroot mailing list