Summary: | ASTERISK-03778: [patch] Asterisk support for cross compilation | ||
Reporter: | mtaht (mtaht) | Labels: | |
Date Opened: | 2005-03-26 10:04:01.000-0600 | Date Closed: | 2008-01-15 15:28:56.000-0600 |
Priority: | Major | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) cross_compile_patches.txt ( 1) cross_compile_patches2.txt | |
Description: | Convincing asterisk to cross-compile is trivial, but tedious to maintain out of tree. I just convinced CVS head to cross-compile, and tested the port lightly last night. I'll test more thoroughly over the weekend, and I'll file a disclaimer shortly. ****** ADDITIONAL INFORMATION ****** Adds support for arm (xscale, maverick) | ||
Comments: | By: stevekstevek (stevekstevek) 2005-03-26 16:46:49.000-0600 Where's the patch? By: mtaht (mtaht) 2005-03-26 17:47:28.000-0600 A bit wordy set of patches to the Makefiles get asterisk to cross-compile. (disclaimer now on file) edited on: 03-26-05 18:31 By: mtaht (mtaht) 2005-03-26 22:26:33.000-0600 Only cross_compile_patches2.txt. (First patch attempt had missing main Makefile) This should work on cross compiling from any linux system to another, so long as it's a special version of gcc (eg - arm-linux-gcc), and is a fairly good start on cross compile support from other systems to another. edited on: 03-26-05 22:31 By: Mark Spencer (markster) 2005-03-27 16:46:16.000-0600 Added to CVS with the following changes: 1) Low memory vs. not low memory should always be selected manually not just by just because you're cross compiling. 2) I left gentone.cross / gentone-ulaw.cross in there as targets but I see no reasons for their existance given that they're only used to create files used for copmilation. Perhaps you can e-mail me and let me know one way or another whether it should still be there. By: Olle Johansson (oej) 2005-04-01 00:37:20.000-0600 ---New feature, not added to 1.0. By: Digium Subversion (svnbot) 2008-01-15 15:28:56.000-0600 Repository: asterisk Revision: 5278 U trunk/Makefile U trunk/apps/Makefile U trunk/cdr/Makefile U trunk/channels/Makefile U trunk/codecs/Makefile U trunk/codecs/gsm/Makefile U trunk/codecs/lpc10/Makefile U trunk/pbx/Makefile U trunk/res/Makefile U trunk/utils/Makefile ------------------------------------------------------------------------ r5278 | markster | 2008-01-15 15:28:56 -0600 (Tue, 15 Jan 2008) | 2 lines Fix cross compiling (bug ASTERISK-3778) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=5278 |