[Crash-utility] [PATCH 0/5] let make flexible for multiple host
Toshikazu Nakayama
nakayama.ts at ncos.nec.co.jp
Tue Apr 17 08:24:26 UTC 2012
Hi Dave,
This patch set will make configure or build flexible for host environment,
in particular dealing with cross compiler.
Please consider about this proposal.
patch#1:
By declaring tables about target and host relationships,
cleanup corresponding code and the new build combination will be
adapted briefly.
Remaining patches:
Try to relieve cross compiler burden by using explicit host_cross option.
I'm using cross compiler environ host=x86 for target=ppc,
and might attempt target=<another arch> in the near future.
I stocked private patches to accomplish cross compiling
but I'd like to discard them permanently with your agreement.
Thanks,
Toshi
Toshikazu Nakayama (5):
configure: retake the way of host compiler detection
Makefile: wrap cc, gcc and ar with common make valiables
make: add host_cross option
build_data: handle CC valiable
configure: handle cross compile with target=ppc host_cross=x86
Makefile | 144 +++++++++--------
configure.c | 441 ++++++++++++++++++++++-----------------------------
extensions/Makefile | 10 +-
extensions/sial.mk | 6 +-
extensions/snap.mk | 6 +-
5 files changed, 289 insertions(+), 318 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-configure-retake-the-way-of-host-compiler-detection.patch
Type: text/x-patch
Size: 16028 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120417/d8fe4b69/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Makefile-wrap-cc-gcc-and-ar-with-common-make-variabl.patch
Type: text/x-patch
Size: 16486 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120417/d8fe4b69/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-make-add-host_cross-option.patch
Type: text/x-patch
Size: 4684 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120417/d8fe4b69/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-build_data-handle-CC-variable.patch
Type: text/x-patch
Size: 1155 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120417/d8fe4b69/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-configure-handle-cross-compile-with-target-ppc-host_.patch
Type: text/x-patch
Size: 957 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20120417/d8fe4b69/attachment-0004.bin>
More information about the Crash-utility
mailing list