diff options
author | joerg <joerg> | 2007-08-02 18:19:31 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-08-02 18:19:31 +0000 |
commit | 9eadf07a6208a186a5d27b4181bf4a8706e61926 (patch) | |
tree | 7eeb466964543e6a95e208d441bf203db2c07e58 /graphics/imlib2 | |
parent | c08a030e902e5ad7359a647c3376575800d3e067 (diff) | |
download | pkgsrc-9eadf07a6208a186a5d27b4181bf4a8706e61926.tar.gz |
Add core of the infrastructure support for cross-compilation.
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of
the target filesystem
- derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR
- buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR
- compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf)
- PKG_DBDIR is prefixed with _CROSS_DESTDIR
- package-install and bin-install are not called with su
- install and strip are redirected to the tool version
- links for the target specific ar, as, ld, nm, objdump, ranlib and
strip are added
- compiler wrapper detect if linking is requested or not
- special command sinks for CPP and CC/CXX add the cross-compile magic:
- modify include dirs to get the target /usr/include
- modify linker dirs and runpath to use target /usr/lib at link time,
but keep correct rpath entries
Supported-by: Google SoC 2007
Basic tests by he@ on Sparc. Review from jlam@.
Diffstat (limited to 'graphics/imlib2')
0 files changed, 0 insertions, 0 deletions