summaryrefslogtreecommitdiff
path: root/fvp_mini.mk
diff options
context:
space:
mode:
authorBranislav Rankov <branislav.rankov@arm.com>2020-07-03 15:27:26 +0100
committerBranislav Rankov <branislav.rankov@arm.com>2020-09-24 09:29:12 +0100
commite552635ae3387ef3017e250f3e1b55ea2fc608a6 (patch)
tree288d65ae9506871a842c24e809fe15b4123b8595 /fvp_mini.mk
parent89e28d8689b84b4c581169df56220e3383443919 (diff)
downloadgoldfish-e552635ae3387ef3017e250f3e1b55ea2fc608a6.tar.gz
Add fvp_mini launch target.
This target can be booted with the same procedure as fvp, but it only boots to shell. There are no graphics. Only command line executables can be used on it. It is therefore much smaller and much faster to boot. Change-Id: Idcc79fe7324edec5a59d2f4b9a9ac98ec2533457
Diffstat (limited to 'fvp_mini.mk')
-rw-r--r--fvp_mini.mk57
1 files changed, 57 insertions, 0 deletions
diff --git a/fvp_mini.mk b/fvp_mini.mk
new file mode 100644
index 00000000..e0e3721c
--- /dev/null
+++ b/fvp_mini.mk
@@ -0,0 +1,57 @@
+#
+# Copyright 2020 Arm Ltd. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+$(call inherit-product, $(LOCAL_PATH)/minimal_system.mk)
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
+
+$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
+
+PRODUCT_NAME := fvp_mini
+PRODUCT_DEVICE := fvpbase
+PRODUCT_BRAND := Android
+PRODUCT_MODEL := AOSP on FVP
+PRODUCT_SOONG_NAMESPACES += device/generic/goldfish
+
+PRODUCT_SHIPPING_API_LEVEL := 29
+PRODUCT_USE_DYNAMIC_PARTITIONS := true
+PRODUCT_FULL_TREBLE_OVERRIDE := true
+PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := false
+PRODUCT_BUILD_BOOT_IMAGE := true
+
+OVERRIDE_TARGET_FLATTEN_APEX := true
+
+# Use a multilib setup (see fvpbase/BoardConfig.mk).
+FVP_MULTILIB_BUILD ?= true
+
+PRODUCT_PACKAGES += \
+ com.android.runtime \
+ gdbserver \
+ init_vendor \
+ ip \
+ ping \
+ selinux_policy_nonsystem \
+
+PRODUCT_HOST_PACKAGES += \
+ bind_to_localhost
+
+PRODUCT_COPY_FILES += \
+ device/generic/goldfish/fvpbase/fstab.fvpbase:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.fvpbase \
+ device/generic/goldfish/fvpbase/fstab.fvpbase.initrd:$(TARGET_COPY_OUT_RAMDISK)/fstab.fvpbase \
+ device/generic/goldfish/fvpbase/init.fvpbase.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.fvpbase.rc \
+ device/generic/goldfish/fvpbase/mini_network.rc:system/etc/init/mini_network.rc \
+ device/generic/goldfish/fvpbase/mini_network.sh:/system/bin/mini_network.sh \
+ device/generic/goldfish/fvpbase/required_images:required_images \