May 2017
Beginner to intermediate
470 pages
10h 49m
English
As we know, the AOSP build system will look for AndroidProducts.mk to find the product definition Makefile for a particular device. Let's review the product definition Makefile x86vbox.mk as follows:
# includes the base of Android-x86 platform $(call inherit-product,device/generic/common/x86.mk) # Overrides PRODUCT_NAME := x86vbox PRODUCT_BRAND := Android-x86 PRODUCT_DEVICE := x86vbox PRODUCT_MODEL := x86vbox_ch8 TARGET_KERNEL_SOURCE := kernel TARGET_KERNEL_CONFIG := android-x86_defconfig TARGET_ARCH := x86 PRODUCT_OUT ?= out/target/product/$(PRODUCT_DEVICE) include $(TARGET_KERNEL_SOURCE)/AndroidKernel.mk # define build targets for kernel .PHONY: $(TARGET_PREBUILT_KERNEL) LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) ...
Read now
Unlock full access