diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-09 09:51:10 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-04 10:08:02 +0000 |
commit | be40f6d0bb80274366af00461112af65687a4de8 (patch) | |
tree | 3e3641acd252428458baa21baa3c4cd14e748150 /scripts/qemuimage-tests/toolchain | |
parent | 51928b6b5ca0a46a9dcd754483a19af58b95fa18 (diff) | |
download | openembedded-core-be40f6d0bb80274366af00461112af65687a4de8.tar.gz openembedded-core-be40f6d0bb80274366af00461112af65687a4de8.tar.bz2 openembedded-core-be40f6d0bb80274366af00461112af65687a4de8.zip |
package_rpm.bbclass: Optimise per file dependency handling
Currently the process for injecting the per file rpm dependencies into
rpmbuild is painfully slow. Its done through the repeated execution of
a script which has to return the correct value in each case. This continual
execution means the CPU usage of rpmbuild is low.
This patch allows the option of collapsing the per file dependencies to
a per package basis and injecting them through the .spec file. This removes
the execution overhead and allows rpmbuild to run at 100% of cpu.
Ultimately it would be nice to inject the per file dependencies through
the .spec file however that is not currently possible.
Since few people use the per file dependency information, this patch
goes for the faster approach. It can be enabled if anyone needs it although
I'd mention that its being used to us as this code may well go away in
the future if nobody complains.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/qemuimage-tests/toolchain')
0 files changed, 0 insertions, 0 deletions