[asterisk-users] Cross compiling Asterisk, Dahdi..
Jean-Denis Girard
jd.girard at sysnux.pf
Sat Jan 16 11:00:26 CST 2010
-----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
Then I make a tar of /tmp/dahdi, and extract that archive on the geode
target.
I don't know if it's the proper way to do it, but it works fine for me.
Thanks,
- --
Jean-Denis Girard
SysNux Systèmes Linux en Polynésie française
http://www.sysnux.pf/ Tél: +689 50 10 40 / GSM: +689 79 75 27
-----BEGIN PGP SIGNATURE-----
iEYEARECAAYFAktR8KoACgkQuu7Rv+oOo/jTVgCcDGNON+UlFwz59ykMFV1aQWEy
gpEAn1MNPrqYfUoTowdjUbMexGqTvkz9
=RD6g
-----END PGP SIGNATURE-----
More information about the asterisk-users
mailing list