diff options
author | joerg <joerg@pkgsrc.org> | 2007-08-01 16:14:17 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2007-08-01 16:14:17 +0000 |
commit | 29777c8ec515d539bd0c24665aebd511ea61d8c3 (patch) | |
tree | 44d3459b2e1906ba1125bf7205d3acc89f835103 /cad | |
parent | 13157ce5e2f70c31da7dc1f66e22495eb7c54ccc (diff) | |
download | pkgsrc-29777c8ec515d539bd0c24665aebd511ea61d8c3.tar.gz |
Begin adding some of the basic, non-intrusive pieces of the
cross-compile support.
- NATIVE_MACHINE_GNU_ARCH, NATIVE_LOWER_ARCH, NATIVE_MACHINE_ARCH,
NATIVE_MACHINE_PLATFORM and NATIVE_MACHINE_GNU_PLATFORM work
like the counterpars without NATIVE_ prefix. Expansion of
NATIVE_LOWER_ARCH and NATIVE_MACHINE_ARCH is enforced early,
so that MACHINE_ARCH can be overriden in mk.conf to specify the
target architecture.
- Provide a default of NO for USE_CROSS_COMPILE. This will be the
main switch to activate cross-compiling and adding it now makes
it possible to merge more of the patches for specific packages.
- Set --build and --host when cross-compiling, the former using the
just added variable NATIVE_MACHINE_GNU_PLATFORM.
Supported-by: Google SoC 2007
Looks good: jlam@
Diffstat (limited to 'cad')
0 files changed, 0 insertions, 0 deletions