Roman Kiryanov | 93b8d4b | 2021-02-08 10:32:22 -0800 | [diff] [blame] | 1 | include device/generic/goldfish/x86_64-kernel.mk |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 2 | |
| 3 | PRODUCT_PROPERTY_OVERRIDES += \ |
Bjoern Johansson | fda217c | 2018-06-14 16:02:30 -0700 | [diff] [blame] | 4 | vendor.rild.libpath=/vendor/lib/libgoldfish-ril.so |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 5 | |
| 6 | # This is a build configuration for a full-featured build of the |
| 7 | # Open-Source part of the tree. It's geared toward a US-centric |
| 8 | # build quite specifically for the emulator, and might not be |
| 9 | # entirely appropriate to inherit from for on-device configurations. |
| 10 | PRODUCT_COPY_FILES += \ |
bohu | 2426e66 | 2020-10-11 21:40:33 -0700 | [diff] [blame] | 11 | device/generic/goldfish/data/etc/config.ini.xl:config.ini \ |
bohu | d0fb8a4 | 2019-03-07 22:41:54 -0800 | [diff] [blame] | 12 | device/generic/goldfish/data/etc/advancedFeatures.ini:advancedFeatures.ini \ |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 13 | device/generic/goldfish/data/etc/encryptionkey.img:encryptionkey.img \ |
Roman Kiryanov | 384060a | 2020-02-10 10:55:30 -0800 | [diff] [blame] | 14 | device/generic/goldfish/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json \ |
Roman Kiryanov | 93b8d4b | 2021-02-08 10:32:22 -0800 | [diff] [blame] | 15 | $(EMULATOR_KERNEL_FILE):kernel-ranchu-64 |
| 16 | |
Kenneth Magic | 29b048b | 2019-03-29 11:50:08 -0700 | [diff] [blame] | 17 | PRODUCT_SDK_ADDON_COPY_FILES += \ |
bohu | d0fb8a4 | 2019-03-07 22:41:54 -0800 | [diff] [blame] | 18 | device/generic/goldfish/data/etc/advancedFeatures.ini:images/x86/advancedFeatures.ini \ |
Kenneth Magic | 29b048b | 2019-03-29 11:50:08 -0700 | [diff] [blame] | 19 | device/generic/goldfish/data/etc/encryptionkey.img:images/x86/encryptionkey.img \ |
Roman Kiryanov | 93b8d4b | 2021-02-08 10:32:22 -0800 | [diff] [blame] | 20 | $(EMULATOR_KERNEL_FILE):images/x86/kernel-ranchu-64 |
bohu | 268c72f | 2018-06-09 08:19:08 -0700 | [diff] [blame] | 21 | |
bohu | 4860bf3 | 2020-08-29 19:46:04 -0700 | [diff] [blame] | 22 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 23 | ro.crypto.dm_default_key.options_format.version=2 |
Bjoern Johansson | 6ba92a4 | 2019-06-24 14:23:48 -0700 | [diff] [blame] | 24 | |
bohu | b828dd5 | 2022-04-13 09:24:18 -0700 | [diff] [blame] | 25 | PRODUCT_SHIPPING_API_LEVEL := 33 |
bohu | 2426e66 | 2020-10-11 21:40:33 -0700 | [diff] [blame] | 26 | PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false |
bohu | ee28af4 | 2018-08-02 12:55:41 -0700 | [diff] [blame] | 27 | TARGET_USES_MKE2FS := true |
bohu | f9495cb | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 28 | |
| 29 | ifeq ($(QEMU_DISABLE_AVB),true) |
| 30 | ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) |
| 31 | PRODUCT_COPY_FILES += \ |
| 32 | device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \ |
bohu | f90ff78 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 33 | device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ |
| 34 | device/generic/goldfish/fstab.ranchu.initrd.noavb.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ |
bohu | f9495cb | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 35 | device/generic/goldfish/fstab.ranchu.noavb.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
| 36 | else |
| 37 | PRODUCT_COPY_FILES += \ |
| 38 | device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \ |
bohu | f90ff78 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 39 | device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ |
| 40 | device/generic/goldfish/fstab.ranchu.initrd.noavb:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ |
bohu | f9495cb | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 41 | device/generic/goldfish/fstab.ranchu.noavb:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
| 42 | endif |
| 43 | endif |
| 44 | |
| 45 | ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) |
| 46 | PRODUCT_COPY_FILES += \ |
bohu | f90ff78 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 47 | device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ |
| 48 | device/generic/goldfish/fstab.ranchu.initrd.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ |
bohu | f9495cb | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 49 | device/generic/goldfish/fstab.ranchu.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
bohu | f90ff78 | 2020-03-30 19:38:57 -0700 | [diff] [blame] | 50 | else |
| 51 | PRODUCT_COPY_FILES += \ |
| 52 | device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ |
| 53 | device/generic/goldfish/fstab.ranchu.initrd:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ |
| 54 | device/generic/goldfish/fstab.ranchu:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu |
bohu | f9495cb | 2020-03-30 10:58:35 -0700 | [diff] [blame] | 55 | endif |