2011-02-14 Ramon Novoa <rnovoa@artica.es>
* embedded/INSTALL: Added instructions to cross-compile for OpenWRT (x86). git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3829 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
7e17326c5f
commit
8d5553e3d2
|
@ -1,3 +1,8 @@
|
|||
2011-02-14 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* embedded/INSTALL: Added instructions to cross-compile for
|
||||
OpenWRT (x86).
|
||||
|
||||
2011-02-10 Sergio Martin <sergio.martin@artica.es>
|
||||
|
||||
* android/src/pandroid/agent/PandroidAgent.java
|
||||
|
|
|
@ -16,8 +16,8 @@ In a ubuntu/debian linux package names are
|
|||
* automake1.9
|
||||
* pkg-config
|
||||
|
||||
Cross compiling
|
||||
---------------
|
||||
Cross compiling for ARM
|
||||
-----------------------
|
||||
|
||||
Edit apt sources (debian only, sorry!)
|
||||
|
||||
|
@ -31,13 +31,30 @@ Download a specific packages for crosscompiling (in my case ARM for GCC-4.3)
|
|||
|
||||
Build for ARM:
|
||||
|
||||
./configure --host=arm-linuxº
|
||||
./make
|
||||
./configure --host=arm-linux
|
||||
make
|
||||
|
||||
Check your GCC version is using the ARM binary.
|
||||
|
||||
|
||||
Cross compiling for OpenWRT (x86)
|
||||
---------------------------------
|
||||
|
||||
Get the OpenWRT SDK:
|
||||
|
||||
cd /root
|
||||
wget -c http://downloads.openwrt.org/kamikaze/8.09.2/x86/OpenWrt-SDK-x86-for-Linux-i686.tar.bz2
|
||||
tar jxvf OpenWrt-SDK-x86-for-Linux-i686.tar.bz2
|
||||
export PATH=$PATH:/root/OpenWrt-SDK-x86-for-Linux-i686/staging_dir/toolchain-i386_gcc4.1.2/bin
|
||||
|
||||
Compile:
|
||||
|
||||
./configure --host=i386-linux-uclibc
|
||||
make
|
||||
|
||||
|
||||
Basic installation
|
||||
--------------
|
||||
------------------
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
|
|
Loading…
Reference in New Issue