I have downloaded android source files for pcduino3 and I am trying to compile 
android kernel using these source files. I am following the steps given at the 
following link.

http://learn.linksprite.com/pcduino/and ... -pcduino3/

But while compiling I am getting the following error at ./build.sh -p 
sun7i_android

mkscript current setting:
        Chip: sun7i
    Platform: android
       Board: 
  Output Dir: /home/embed/android4.2/lichee/out/android/common

INFO: build lichee ...
INFO: build buildroot ...
external toolchain has been installed
INFO: build buildroot OK.
INFO: build kernel ...
INFO: prepare toolchain ...
Building kernel
build standby
make: Entering directory 
`/home/embed/android4.2/lichee/linux-3.4/arch/arm/mach-sun7i/pm/dram-freq'
arm-linux-gnueabi-gcc -I. -I/home/embed/android4.2/lichee/linux-3.4/include 
-I/home/embed/android4.2/lichee/linux-3.4/arch/arm/mach-sun7i/include -g -c 
-nostdlib -march=armv7-a -marm -D__STANDBY_MODULE__ -fno-unwind-tables 
-fno-asynchronous-unwind-tables -mlittle-endian -O2 --min_array_alignment=4 
--no_unaligned_access -e dram_freq_main dram_freq_entry.c                    -o 
dram_freq_entry.o
as: unrecognized option '-EL'
make: *** [all] Error 1
make: Leaving directory 
`/home/embed/android4.2/lichee/linux-3.4/arch/arm/mach-sun7i/pm/dram-freq'
ERROR: build kernel Failed

Also I removed -EL flag from the file 
./android4.2/lichee/linux-3.4/arch/arm/mach-sun7i/pm/dram-freq/Makefile and 
tried but again it is giving the same error.

Also I have downloaded the tool chain for arm-linux-gnueabi-gcc and set the 
path in the ~/.profile file like this

export PATH=$PATH:/usr/bin/gcc/arm-linux-gnueabi/bin

Is their any way to install arm-linux-gnueabi-gcc ?

I am using ubuntu 12.04 64 bit os for cross compile.

Thanks
pirpi

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to