choose your favourite Linux, I use Debian, though you can use whatever you prefer.
@terminal
You now have a choice of which repository you wish to initialise.
default for AOSP is
ok, following will allow building in 32 bit environment
lastly
go to line 80 and put a # where I've highlighted in red
finally
After a build time of 3 hours, we have in folder out/target/product/generic our images: system.img,ramdisk.img and userdata.img and in folder prebuild/linux-x86/toolchain our android arm-eabi to compile kernel and so on.
t0mm13b's instruction for building your own kernel are here http://android.modac...t/#entry1553367
still wanting instruction on the 2g vmsplit > http://android.modac...lade/page/220/# thanks kallt_kaffe
githubs for sources > http://android.modac...b/#entry1579455
@terminal
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush
Quote
mkdir -p ~/bin
mkdir -p ~/android/system
curl http://android.git.kernel.org/repo > ~/bin/repo
chmod a+x ~/bin/repo
cd ~/android/system/
mkdir -p ~/android/system
curl http://android.git.kernel.org/repo > ~/bin/repo
chmod a+x ~/bin/repo
cd ~/android/system/
You now have a choice of which repository you wish to initialise.
default for AOSP is
repo init -u git://android.git.kernel.org/platform/manifest.git repo sync
ok, following will allow building in 32 bit environment
source build/envsetup.sh find . -name '*.mk' | xargs sed -i 's/-m64//g'
lastly
gedit build/core/main.mk
go to line 80 and put a # where I've highlighted in red
Quote
$(warning ************************************************** **********)
$(warning You are attempting to build on a 32-bit system.)
$(warning Only 64-bit build environments are supported beyond froyo/2.2.)
$(warning ************************************************** **********)
#$(error stop)
$(warning You are attempting to build on a 32-bit system.)
$(warning Only 64-bit build environments are supported beyond froyo/2.2.)
$(warning ************************************************** **********)
#$(error stop)
finally
export TARGET_BUILD_VARIANT=user make
After a build time of 3 hours, we have in folder out/target/product/generic our images: system.img,ramdisk.img and userdata.img and in folder prebuild/linux-x86/toolchain our android arm-eabi to compile kernel and so on.
t0mm13b's instruction for building your own kernel are here http://android.modac...t/#entry1553367
still wanting instruction on the 2g vmsplit > http://android.modac...lade/page/220/# thanks kallt_kaffe
githubs for sources > http://android.modac...b/#entry1579455
Edited by hecatae, 01 February 2011 - 03:38 PM.







Sign In
Create Account


Back to top










