blob: 720dfb57b532fcdc8b755aeec0af3162f77afe10 [file] [log] [blame]
Roman Kiryanovd2d60542020-02-10 10:55:30 -08001PRODUCT_KERNEL_VERSION := 5.4
bohu79e3ac12020-03-30 19:38:57 -07002BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \
Roman Kiryanovd2d60542020-02-10 10:55:30 -08003 $(wildcard prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/ko/*.ko)
bohu268c72f2018-06-09 08:19:08 -07004
5PRODUCT_PROPERTY_OVERRIDES += \
Bjoern Johanssonfda217c2018-06-14 16:02:30 -07006 vendor.rild.libpath=/vendor/lib/libgoldfish-ril.so
bohu268c72f2018-06-09 08:19:08 -07007
8# This is a build configuration for a full-featured build of the
9# Open-Source part of the tree. It's geared toward a US-centric
10# build quite specifically for the emulator, and might not be
11# entirely appropriate to inherit from for on-device configurations.
12PRODUCT_COPY_FILES += \
bohu916dfa32019-06-09 09:02:20 -070013 device/generic/goldfish/data/etc/config.ini.nexus5:config.ini \
bohud0fb8a42019-03-07 22:41:54 -080014 device/generic/goldfish/data/etc/advancedFeatures.ini:advancedFeatures.ini \
bohu268c72f2018-06-09 08:19:08 -070015 device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \
Roman Kiryanovd2d60542020-02-10 10:55:30 -080016 device/generic/goldfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \
Roman Kiryanov6d5cffe2018-11-05 11:43:40 -080017 prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:kernel-ranchu-64
Kenneth Magic29b048b2019-03-29 11:50:08 -070018PRODUCT_SDK_ADDON_COPY_FILES += \
bohud0fb8a42019-03-07 22:41:54 -080019 device/generic/goldfish/data/etc/advancedFeatures.ini:images/x86/advancedFeatures.ini \
Kenneth Magic29b048b2019-03-29 11:50:08 -070020 device/generic/goldfish/data/etc/encryptionkey.img:images/x86/encryptionkey.img \
21 prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:images/x86/kernel-ranchu-64
bohu268c72f2018-06-09 08:19:08 -070022
Bjoern Johansson6ba92a42019-06-24 14:23:48 -070023PRODUCT_COPY_FILES += \
24 device/generic/goldfish/data/etc/x86/emulatorip:$(TARGET_COPY_OUT_VENDOR)/bin/ip
25
26
bohuee28af42018-08-02 12:55:41 -070027PRODUCT_SHIPPING_API_LEVEL := 28
28TARGET_USES_MKE2FS := true
bohu5295e6b2020-03-30 10:58:35 -070029
30ifeq ($(QEMU_DISABLE_AVB),true)
31 ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
32 PRODUCT_COPY_FILES += \
33 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohu79e3ac12020-03-30 19:38:57 -070034 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
35 device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohu5295e6b2020-03-30 10:58:35 -070036 device/generic/goldfish/fstab.ranchu.noavb.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
37 else
38 PRODUCT_COPY_FILES += \
39 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \
bohu79e3ac12020-03-30 19:38:57 -070040 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
41 device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohu5295e6b2020-03-30 10:58:35 -070042 device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
43 endif
44endif
45
46ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true)
47PRODUCT_COPY_FILES += \
bohu79e3ac12020-03-30 19:38:57 -070048 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
49 device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
bohu5295e6b2020-03-30 10:58:35 -070050 device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohu79e3ac12020-03-30 19:38:57 -070051else
52PRODUCT_COPY_FILES += \
53 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \
54 device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \
55 device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu
bohu5295e6b2020-03-30 10:58:35 -070056endif