[asterisk-users] Cross compiling Asterisk, Dahdi..

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sat Jan 16 17:38:43 CST 2010


On Sat, Jan 16, 2010 at 07:00:26AM -1000, Jean-Denis Girard wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Gordon
> 
> Gordon Henderson a écrit :
> > Is there a proper, documented way to cross compile DAHDI and Asterisk for 
> > a processor/system other than the one you're currently typing on?
> 
> Here is what I'm doing for building dahdi modules on my x86_64 system,
> for geode target. In dahdi linux directory:
> 
> make KVERS=2.6.33-rc3-git3-sysnux KSRC=/home/jdg/RPM/BUILD/linux
> 
> Then install in /tmp/dahdi:
> make DESTDIR=/tmp/dahdi ARCH=i386 KVERS=2.6.33-rc3-git3-sysnux
> KSRC=/home/jdg/RPM/BUILD/linux install-modules

Is an explicit ARCH needed? It shouldn't have been there in the first
place. The ARCH is caculated by Kbuild from your config (in the kernel
tree) and there should be no need to provide it (at least as of dahdi
2.2).

Likewise: is KVERS really needed in that line?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list