References:
https://source.android.com/source/building.html
. build/envsetup.sh
Output:
including sdk/bash_completion/adb.bash
lunch
Output:
You're building on Linux
Lunch menu... pick a combo:
1. beagleboneblack-eng
2. aosp_arm-eng
3. aosp_x86-eng
4. aosp_mips-eng
5. vbox_x86-eng
Which would you like? [aosp_arm-eng]
>press [Enter] and build for the emulator for now.
Output:
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=4.4.4
TARGET_PRODUCT=aosp_arm
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
TARGET_CPU_VARIANT=generic
HOST_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-64-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_BUILD_TYPE=release
BUILD_ID=KTU84P
OUT_DIR=out
============================================
make -j4
Output:
build/core/main.mk:45: ********************************************************************************
build/core/main.mk:46: * You are using version 4.1 of make.
build/core/main.mk:47: * Android can only be built by versions 3.81 and 3.82.
build/core/main.mk:48: * see https://source.android.com/source/download.html
build/core/main.mk:49: ********************************************************************************
build/core/main.mk:50: *** stopping. Stop.
So role make back.
*** Given the process to build the Marshmallow AOSP, I am going to make an external drive bootable with the ubuntu live cd, and build from there. I suspect that this will take a week to accomplish, but I don't want to make a bunch of changes to my system by installing old packages when what I want in the end is to build more current versions of Android anyway.
Additionally, I need to work this out so that I can build the Linux Kernels on an external drive, as well as experiment with building and installing drivers within a kernel, so I don't make my system inoperable.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.