diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2011-09-17 22:22:57 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2011-09-18 23:00:07 +0200 |
commit | a473a616d27e46951a23d90249a31b08006098bf (patch) | |
tree | 0ccfb0b3341b0d51bc43d34de75f0b804662e65c /package/squashfs | |
parent | 4b78a5008995d459399a38692d436eceb7c2278d (diff) | |
download | buildroot-novena-a473a616d27e46951a23d90249a31b08006098bf.tar.gz buildroot-novena-a473a616d27e46951a23d90249a31b08006098bf.zip |
package: change ordering of steps
Currently, the dependency chain is :
configure -> patch
patch -> extract
extract -> depends
depends -> source + dependencies ready
This is a problem for RTAI, as :
* In linux/linux-ext-rtai.mk, we need the RTAI source code to be
extracted/patched by the RTAI package, so we need to have a
dependency on RTAI.
* The RTAI package cannot have its configure step executed before the
Linux kernel is built, because it needs the kernel source code to
be extracted and configured.
Therefore, we have a sort of circular dependency. We solve this
circular dependency by having the RTAI kernel part depending on
rtai-patch, and having the RTAI userspace part depending on the linux
package. However, for this to work, we have to modify the dependency
chain to:
configure -> patch + depends
patch -> extract
extract -> source
depends -> dependencies ready
Which means that dependencies are guaranteed to be built not when the
package is extracted, but when the package is configured. Which is
technically more correct that what we were doing in the past.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/squashfs')
0 files changed, 0 insertions, 0 deletions