1PRODUCT_KERNEL_VERSION := 5.4 2BOARD_VENDOR_RAMDISK_KERNEL_MODULES += \ 3 $(wildcard prebuilts/qemu-kernel/arm64/$(PRODUCT_KERNEL_VERSION)/ko/*.ko) 4 5PRODUCT_PROPERTY_OVERRIDES += \ 6 vendor.rild.libpath=/vendor/lib64/libgoldfish-ril.so 7 8PRODUCT_SHIPPING_API_LEVEL := 28 9TARGET_USES_MKE2FS := true 10 11# Note: the following lines need to stay at the beginning so that it can 12# take priority and override the rules it inherit from other mk files 13# see copy file rules in core/Makefile 14ifeq ($(QEMU_USE_SYSTEM_EXT_PARTITIONS),true) 15 PRODUCT_COPY_FILES += \ 16 device/generic/goldfish/fstab.ranchu.initrd.arm.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 17 device/generic/goldfish/fstab.ranchu.initrd.arm.ex:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 18 device/generic/goldfish/fstab.ranchu.arm.ex:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 19else 20 PRODUCT_COPY_FILES += \ 21 device/generic/goldfish/fstab.ranchu.initrd.arm:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.ranchu \ 22 device/generic/goldfish/fstab.ranchu.initrd.arm:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.ranchu \ 23 device/generic/goldfish/fstab.ranchu.arm:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.ranchu 24endif 25 26 27PRODUCT_COPY_FILES += \ 28 prebuilts/qemu-kernel/arm64/$(PRODUCT_KERNEL_VERSION)/kernel-qemu2:kernel-ranchu \ 29 device/generic/goldfish/data/etc/advancedFeatures.ini.arm:advancedFeatures.ini \ 30 31EMULATOR_VENDOR_NO_GNSS := true 32 33ifeq ($(QEMU_DISABLE_AVB),true) 34 PRODUCT_COPY_FILES += \ 35 device/generic/goldfish/data/etc/dummy.vbmeta.img:$(PRODUCT_OUT)/vbmeta.img \ 36 37endif 38