Add a ramdisk stub for targets that referred to goldfish's arm32.mk
there is a check that requires the ramdisk to be nonempty. Bug: 250696437 Test: presubmit Change-Id: If3918ec1eb0e6263ed845e48c7415755c0cfc832 Signed-off-by: Roman Kiryanov <rkir@google.com>
This commit is contained in:
@@ -49,6 +49,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|||||||
#
|
#
|
||||||
# All components inherited here go to vendor image
|
# All components inherited here go to vendor image
|
||||||
#
|
#
|
||||||
|
$(call inherit-product-if-exists, build/make/target/product/ramdisk_stub.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86/device.mk)
|
||||||
|
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
# build quite specifically for the emulator, and might not be
|
# build quite specifically for the emulator, and might not be
|
||||||
# entirely appropriate to inherit from for on-device configurations.
|
# entirely appropriate to inherit from for on-device configurations.
|
||||||
|
|
||||||
|
$(call inherit-product-if-exists, build/make/target/product/ramdisk_stub.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/board/generic/device.mk)
|
||||||
|
18
target/product/ramdisk_stub.mk
Normal file
18
target/product/ramdisk_stub.mk
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#
|
||||||
|
# Copyright 2022 The Android Open-Source Project
|
||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
PRODUCT_COPY_FILES += \
|
||||||
|
build/make/target/product/ramdisk_stub.mk:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/nonempty
|
@@ -45,6 +45,7 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
|
|||||||
#
|
#
|
||||||
# All components inherited here go to vendor image
|
# All components inherited here go to vendor image
|
||||||
#
|
#
|
||||||
|
$(call inherit-product-if-exists, build/make/target/product/ramdisk_stub.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulator_vendor.mk)
|
||||||
$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm/device.mk)
|
$(call inherit-product, $(SRC_TARGET_DIR)/board/emulator_arm/device.mk)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user