[Buildroot] [PATCH 05/12] package: implement a 'local' site method
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Mon Jul 25 07:11:16 UTC 2011
Le Sun, 24 Jul 2011 16:50:50 +0200,
Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :
> Ok, I was indeed confusing the two.
> If I understand correctly, the main difference is that the file method
> expects an archive, and the local method expects a prepared source
> tree.
Right.
> But this also means that you cannot properly use a 'local' package
> from two buildroot installations, since the compilation process
> happens in the local directory. Is that correct?
Yes, this is unfortunately correct. The only other options would be :
* Do the build out-of-tree, but this is already been discussed in
another thread as being highly problematic for many packages ;
* Make a copy of the complete source tree. This is reasonable for
small projects, but for example, for something like the kernel, it
is largely unreasonable, and one of the packages for which the
"source override" mechanism is the most interesting is the kernel
package.
Do you see any other option ?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
More information about the buildroot
mailing list