Roman Kiryanov | d2d6054 | 2020-02-10 10:55:30 -0800 | [diff] [blame] | 1 | PRODUCT_KERNEL_VERSION := 5.4 |
bohu | 79e3ac1 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 2 | BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \ |
Roman Kiryanov | d2d6054 | 2020-02-10 10:55:30 -0800 | [diff] [blame] | 3 | $(wildcard prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/ko/*.ko) |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 4 | |
| 5 | PRODUCT_PROPERTY_OVERRIDES += \ |
Bjoern Johansson | fda217c | 2018-06-14 16:02:30 -0700 | [diff] [blame] | 6 | vendor.rild.libpath=/vendor/lib/libgoldfish-ril.so |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 7 | |
| 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. |
| 12 | PRODUCT_COPY_FILES += \ |
bohu | 916dfa3 | 2019-06-09 09:02:20 -0700 | [diff] [blame] | 13 | device/generic/goldfish/data/etc/config.ini.nexus5:config.ini \ |
bohu | d0fb8a4 | 2019-03-07 22:41:54 -0800 | [diff] [blame] | 14 | device/generic/goldfish/data/etc/advancedFeatures.ini:advancedFeatures.ini \ |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 15 | device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \ |
Roman Kiryanov | d2d6054 | 2020-02-10 10:55:30 -0800 | [diff] [blame] | 16 | device/generic/goldfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \ |
Roman Kiryanov | 6d5cffe | 2018-11-05 11:43:40 -0800 | [diff] [blame] | 17 | prebuilts/qemu-kernel/x86_64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:kernel-ranchu-64 |
Kenneth Magic | 29b048b | 2019-03-29 11:50:08 -0700 | [diff] [blame] | 18 | PRODUCT_SDK_ADDON_COPY_FILES += \ |
bohu | d0fb8a4 | 2019-03-07 22:41:54 -0800 | [diff] [blame] | 19 | device/generic/goldfish/data/etc/advancedFeatures.ini:images/x86/advancedFeatures.ini \ |
Kenneth Magic | 29b048b | 2019-03-29 11:50:08 -0700 | [diff] [blame] | 20 | 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 |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 22 | |
Bjoern Johansson | 6ba92a4 | 2019-06-24 14:23:48 -0700 | [diff] [blame] | 23 | PRODUCT_COPY_FILES += \ |
| 24 | device/generic/goldfish/data/etc/x86/emulatorip:$(TARGET_COPY_OUT_VENDOR)/bin/ip |
| 25 | |
| 26 | |
bohu | ee28af4 | 2018-08-02 12:55:41 -0700 | [diff] [blame] | 27 | PRODUCT_SHIPPING_API_LEVEL := 28 |
| 28 | TARGET_USES_MKE2FS := true |
bohu | 5295e6b | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 29 | |
| 30 | ifeq ($(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 \ |
bohu | 79e3ac1 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 34 | 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 \ |
bohu | 5295e6b | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 36 | 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 \ |
bohu | 79e3ac1 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 40 | 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 \ |
bohu | 5295e6b | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 42 | device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
| 43 | endif |
| 44 | endif |
| 45 | |
| 46 | ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) |
| 47 | PRODUCT_COPY_FILES += \ |
bohu | 79e3ac1 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 48 | 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 \ |
bohu | 5295e6b | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 50 | device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
bohu | 79e3ac1 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 51 | else |
| 52 | PRODUCT_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 |
bohu | 5295e6b | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 56 | endif |