X6833B: rootdir: Convert to blueprint configuration

Signed-off-by: dodyirawan85 <40514988+dodyirawan85@users.noreply.github.com>
This commit is contained in:
dodyirawan85 2023-10-15 20:55:07 +07:00
parent 3ca34aee0d
commit f559c6e678
3 changed files with 12 additions and 11 deletions

View file

@ -70,7 +70,7 @@ PRODUCT_PACKAGES += \
# Init files
PRODUCT_PACKAGES += \
fstab.mt6789_vendor_ramdisk
fstab.mt6789.vendor_ramdisk
# Include GSI keys
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)

11
rootdir/Android.bp Normal file
View file

@ -0,0 +1,11 @@
//
// Copyright (C) 2023 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "fstab.mt6789",
src: "etc/fstab.mt6789",
vendor_ramdisk_available: true
}

View file

@ -1,10 +0,0 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := fstab.$(TARGET_BOARD_PLATFORM)_vendor_ramdisk
LOCAL_MODULE_STEM := fstab.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := ETC
LOCAL_SRC_FILES := etc/fstab.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_PATH := $(TARGET_VENDOR_RAMDISK_OUT)/first_stage_ramdisk
include $(BUILD_PREBUILT)