DESTDIR support for crosstool?
Axel Thimm
Axel.Thimm@ATrpms.net
Wed Oct 20 00:59:00 GMT 2004
Hi,
would it be possible to have
a) staged build and install crosstool scripts?
b) installing under a different prefix than configured for?
I am thinking from a packager's POV, where packages are usually built and
installed under different locations than later used, e.g. a typical
crosstool package for a powerpc toolchain could be
o building under /usr/src/at/powerpc-405-linux-uclibc folder,
o installing under a /var/tmp/powerpc-405-linux-uclibc-0.0.1-root/opt/crosstools/...
hierarchy, while the package itself will be chopping off the
buildroot prefix and will
o package-install under /opt/crosstools/
a) is nice to have, but a packager can live w/o. b) is very important,
as in packaging concept, no part of the true file system hierarchy is
to be touched (other than the buildroot, e.g.
/var/tmp/powerpc-405-linux-uclibc-0.0.1-root above).
I understand that b) can be tricky, as the software is configured to
look under /opt/crosstools/ for already built and installed components
which will have been placed under
/var/tmp/powerpc-405-linux-uclibc-0.0.1-root/opt/crosstools/. and
pointing to the temporary buildroot instead would break any hardcoded
paths.
--
Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20041020/ac5ce040/attachment.sig>
More information about the crossgcc
mailing list