May 2017
Beginner to intermediate
470 pages
10h 49m
English
You may notice that there is a device.mk file in the generic_x86 folder. Yes, we can reuse that file directly. The following is our device.mk file:
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
As we can see, in our device.mk file, we simply inherit the common device.mk from the generic_x86 device.
We can look at the device.mk file for the generic_x86 device as follows:
PRODUCT_PROPERTY_OVERRIDES := \ ro.ril.hsxpa=1 \ ro.ril.gprsclass=10 \ ro.adb.qemud=1 PRODUCT_COPY_FILES := \ device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml \ device/generic/goldfish/camera/media_profiles.xml:system/etc/media_profiles.xml \ frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml ...
Read now
Unlock full access