forked from openkylin/platform_build
Add fs_config_(dirs|files) for product and system_ext
These files were added to devices with the fs_config_files_nonsystem module in base_vendor.mk. As they are partition-specific, move them to each base_<partition>.mk file. To add the fs_config_* files to the base_<partition>.mk files, it is required to define the fs_config_* regardless of the existance of partitions. Bug: 170282998 Test: build and check if they are installed. Change-Id: Ib8a2c75e2e0e93bb7030da981494e880f8465e5a
This commit is contained in:
parent
8d9added3c
commit
75f7cf9a2d
|
@ -16,6 +16,8 @@
|
||||||
|
|
||||||
# Base modules and settings for the product partition.
|
# Base modules and settings for the product partition.
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
fs_config_dirs_product \
|
||||||
|
fs_config_files_product \
|
||||||
group_product \
|
group_product \
|
||||||
ModuleMetadata \
|
ModuleMetadata \
|
||||||
passwd_product \
|
passwd_product \
|
||||||
|
|
|
@ -16,7 +16,9 @@
|
||||||
|
|
||||||
# Base modules and settings for the system_ext partition.
|
# Base modules and settings for the system_ext partition.
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
|
fs_config_dirs_system_ext \
|
||||||
|
fs_config_files_system_ext \
|
||||||
group_system_ext \
|
group_system_ext \
|
||||||
system_ext_manifest.xml \
|
|
||||||
passwd_system_ext \
|
passwd_system_ext \
|
||||||
selinux_policy_system_ext \
|
selinux_policy_system_ext \
|
||||||
|
system_ext_manifest.xml \
|
||||||
|
|
|
@ -34,8 +34,6 @@ fs_config_generate_extra_partition_list := $(strip \
|
||||||
$(if $(BOARD_USES_ODMIMAGE)$(BOARD_ODMIMAGE_FILE_SYSTEM_TYPE),odm) \
|
$(if $(BOARD_USES_ODMIMAGE)$(BOARD_ODMIMAGE_FILE_SYSTEM_TYPE),odm) \
|
||||||
$(if $(BOARD_USES_VENDOR_DLKMIMAGE)$(BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE),vendor_dlkm) \
|
$(if $(BOARD_USES_VENDOR_DLKMIMAGE)$(BOARD_VENDOR_DLKMIMAGE_FILE_SYSTEM_TYPE),vendor_dlkm) \
|
||||||
$(if $(BOARD_USES_ODM_DLKMIMAGE)$(BOARD_ODM_DLKMIMAGE_FILE_SYSTEM_TYPE),odm_dlkm) \
|
$(if $(BOARD_USES_ODM_DLKMIMAGE)$(BOARD_ODM_DLKMIMAGE_FILE_SYSTEM_TYPE),odm_dlkm) \
|
||||||
$(if $(BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE),product) \
|
|
||||||
$(if $(BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE),system_ext) \
|
|
||||||
)
|
)
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
@ -45,11 +43,12 @@ include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs
|
LOCAL_MODULE := fs_config_dirs
|
||||||
LOCAL_REQUIRED_MODULES := \
|
LOCAL_REQUIRED_MODULES := \
|
||||||
fs_config_dirs_system \
|
fs_config_dirs_system \
|
||||||
$(foreach t,$(fs_config_generate_extra_partition_list),$(LOCAL_MODULE)_$(t))
|
fs_config_dirs_system_ext \
|
||||||
|
fs_config_dirs_product \
|
||||||
|
fs_config_dirs_nonsystem
|
||||||
include $(BUILD_PHONY_PACKAGE)
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the <p>/etc/fs_config_files binary files for each partition.
|
# Generate the <p>/etc/fs_config_files binary files for each partition.
|
||||||
# Add fs_config_files to PRODUCT_PACKAGES in the device make file to enable.
|
# Add fs_config_files to PRODUCT_PACKAGES in the device make file to enable.
|
||||||
|
@ -58,27 +57,69 @@ include $(CLEAR_VARS)
|
||||||
LOCAL_MODULE := fs_config_files
|
LOCAL_MODULE := fs_config_files
|
||||||
LOCAL_REQUIRED_MODULES := \
|
LOCAL_REQUIRED_MODULES := \
|
||||||
fs_config_files_system \
|
fs_config_files_system \
|
||||||
$(foreach t,$(fs_config_generate_extra_partition_list),$(LOCAL_MODULE)_$(t))
|
fs_config_files_system_ext \
|
||||||
|
fs_config_files_product \
|
||||||
|
fs_config_files_nonsystem
|
||||||
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Generate the system_ext/etc/fs_config_dirs binary file for the target if the
|
||||||
|
# system_ext partition is generated. Add fs_config_dirs or fs_config_dirs_system_ext
|
||||||
|
# to PRODUCT_PACKAGES in the device make file to enable.
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := fs_config_dirs_system_ext
|
||||||
|
LOCAL_REQUIRED_MODULES := $(if $(BOARD_USES_SYSTEM_EXTIMAGE)$(BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE),_fs_config_dirs_system_ext)
|
||||||
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Generate the system_ext/etc/fs_config_files binary file for the target if the
|
||||||
|
# system_ext partition is generated. Add fs_config_files or fs_config_files_system_ext
|
||||||
|
# to PRODUCT_PACKAGES in the device make file to enable.
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := fs_config_files_system_ext
|
||||||
|
LOCAL_REQUIRED_MODULES := $(if $(BOARD_USES_SYSTEM_EXTIMAGE)$(BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE),_fs_config_files_system_ext)
|
||||||
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Generate the product/etc/fs_config_dirs binary file for the target if the
|
||||||
|
# product partition is generated. Add fs_config_dirs or fs_config_dirs_product
|
||||||
|
# to PRODUCT_PACKAGES in the device make file to enable.
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := fs_config_dirs_product
|
||||||
|
LOCAL_REQUIRED_MODULES := $(if $(BOARD_USES_PRODUCTIMAGE)$(BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE),_fs_config_dirs_product)
|
||||||
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
|
##################################
|
||||||
|
# Generate the product/etc/fs_config_files binary file for the target if the
|
||||||
|
# product partition is generated. Add fs_config_files or fs_config_files_product
|
||||||
|
# to PRODUCT_PACKAGES in the device make file to enable.
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
|
LOCAL_MODULE := fs_config_files_product
|
||||||
|
LOCAL_REQUIRED_MODULES := $(if $(BOARD_USES_PRODUCTIMAGE)$(BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE),_fs_config_files_product)
|
||||||
include $(BUILD_PHONY_PACKAGE)
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the <p>/etc/fs_config_dirs binary files for all enabled partitions
|
# Generate the <p>/etc/fs_config_dirs binary files for all enabled partitions
|
||||||
# excluding /system. Add fs_config_dirs_nonsystem to PRODUCT_PACKAGES in the
|
# excluding /system, /system_ext and /product. Add fs_config_dirs_nonsystem to
|
||||||
# device make file to enable.
|
# PRODUCT_PACKAGES in the device make file to enable.
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_nonsystem
|
LOCAL_MODULE := fs_config_dirs_nonsystem
|
||||||
LOCAL_REQUIRED_MODULES := $(foreach t,$(fs_config_generate_extra_partition_list),fs_config_dirs_$(t))
|
LOCAL_REQUIRED_MODULES := $(foreach t,$(fs_config_generate_extra_partition_list),_fs_config_dirs_$(t))
|
||||||
include $(BUILD_PHONY_PACKAGE)
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the <p>/etc/fs_config_files binary files for all enabled partitions
|
# Generate the <p>/etc/fs_config_files binary files for all enabled partitions
|
||||||
# excluding /system. Add fs_config_files_nonsystem to PRODUCT_PACKAGES in the
|
# excluding /system, /system_ext and /product. Add fs_config_files_nonsystem to
|
||||||
# device make file to enable.
|
# PRODUCT_PACKAGES in the device make file to enable.
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_nonsystem
|
LOCAL_MODULE := fs_config_files_nonsystem
|
||||||
LOCAL_REQUIRED_MODULES := $(foreach t,$(fs_config_generate_extra_partition_list),fs_config_files_$(t))
|
LOCAL_REQUIRED_MODULES := $(foreach t,$(fs_config_generate_extra_partition_list),_fs_config_files_$(t))
|
||||||
include $(BUILD_PHONY_PACKAGE)
|
include $(BUILD_PHONY_PACKAGE)
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
|
@ -134,11 +175,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
ifneq ($(filter vendor,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(filter vendor,$(fs_config_generate_extra_partition_list)),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the vendor/etc/fs_config_dirs binary file for the target
|
# Generate the vendor/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_vendor to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable.
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_vendor
|
LOCAL_MODULE := _fs_config_dirs_vendor
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc
|
||||||
|
@ -158,11 +199,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the vendor/etc/fs_config_files binary file for the target
|
# Generate the vendor/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files or fs_config_files_vendor to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_vendor
|
LOCAL_MODULE := _fs_config_files_vendor
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/etc
|
||||||
|
@ -185,11 +226,11 @@ endif
|
||||||
ifneq ($(filter oem,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(filter oem,$(fs_config_generate_extra_partition_list)),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the oem/etc/fs_config_dirs binary file for the target
|
# Generate the oem/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_oem to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_oem
|
LOCAL_MODULE := _fs_config_dirs_oem
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_OEM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OEM)/etc
|
||||||
|
@ -209,11 +250,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the oem/etc/fs_config_files binary file for the target
|
# Generate the oem/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files or fs_config_files_oem to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_oem
|
LOCAL_MODULE := _fs_config_files_oem
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_OEM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_OEM)/etc
|
||||||
|
@ -236,11 +277,11 @@ endif
|
||||||
ifneq ($(filter odm,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(filter odm,$(fs_config_generate_extra_partition_list)),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the odm/etc/fs_config_dirs binary file for the target
|
# Generate the odm/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_odm to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_odm
|
LOCAL_MODULE := _fs_config_dirs_odm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM)/etc
|
||||||
|
@ -260,11 +301,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the odm/etc/fs_config_files binary file for the target
|
# Generate the odm/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files of fs_config_files_odm to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_odm
|
LOCAL_MODULE := _fs_config_files_odm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM)/etc
|
||||||
|
@ -287,11 +328,11 @@ endif
|
||||||
ifneq ($(filter vendor_dlkm,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(filter vendor_dlkm,$(fs_config_generate_extra_partition_list)),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the vendor_dlkm/etc/fs_config_dirs binary file for the target
|
# Generate the vendor_dlkm/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_vendor_dlkm to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_nonsystem to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_vendor_dlkm
|
LOCAL_MODULE := _fs_config_dirs_vendor_dlkm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_DLKM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_DLKM)/etc
|
||||||
|
@ -311,11 +352,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the vendor_dlkm/etc/fs_config_files binary file for the target
|
# Generate the vendor_dlkm/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files of fs_config_files_vendor_dlkm to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_nonsystem to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_vendor_dlkm
|
LOCAL_MODULE := _fs_config_files_vendor_dlkm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_DLKM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_DLKM)/etc
|
||||||
|
@ -338,11 +379,11 @@ endif
|
||||||
ifneq ($(filter odm_dlkm,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(filter odm_dlkm,$(fs_config_generate_extra_partition_list)),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the odm_dlkm/etc/fs_config_dirs binary file for the target
|
# Generate the odm_dlkm/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_odm_dlkm to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_odm_dlkm
|
LOCAL_MODULE := _fs_config_dirs_odm_dlkm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM_DLKM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM_DLKM)/etc
|
||||||
|
@ -362,11 +403,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the odm_dlkm/etc/fs_config_files binary file for the target
|
# Generate the odm_dlkm/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files of fs_config_files_odm_dlkm to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_nonsystem to PRODUCT_PACKAGES
|
||||||
# the device make file to enable
|
# in the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_odm_dlkm
|
LOCAL_MODULE := _fs_config_files_odm_dlkm
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM_DLKM)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ODM_DLKM)/etc
|
||||||
|
@ -386,14 +427,14 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter product,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(BOARD_USES_PRODUCTIMAGE)$(BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the product/etc/fs_config_dirs binary file for the target
|
# Generate the product/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_product to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_product to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_product
|
LOCAL_MODULE := _fs_config_dirs_product
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/etc
|
||||||
|
@ -413,11 +454,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the product/etc/fs_config_files binary file for the target
|
# Generate the product/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files of fs_config_files_product to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_product to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_product
|
LOCAL_MODULE := _fs_config_files_product
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/etc
|
||||||
|
@ -436,14 +477,14 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
$(or $(PRIVATE_TARGET_FS_CONFIG_GEN),/dev/null)
|
$(or $(PRIVATE_TARGET_FS_CONFIG_GEN),/dev/null)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(filter system_ext,$(fs_config_generate_extra_partition_list)),)
|
ifneq ($(BOARD_USES_SYSTEM_EXTIMAGE)$(BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE),)
|
||||||
##################################
|
##################################
|
||||||
# Generate the system_ext/etc/fs_config_dirs binary file for the target
|
# Generate the system_ext/etc/fs_config_dirs binary file for the target
|
||||||
# Add fs_config_dirs or fs_config_dirs_system_ext to PRODUCT_PACKAGES in
|
# Add fs_config_dirs or fs_config_dirs_system_ext to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_dirs_system_ext
|
LOCAL_MODULE := _fs_config_dirs_system_ext
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_dirs
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SYSTEM_EXT)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SYSTEM_EXT)/etc
|
||||||
|
@ -463,11 +504,11 @@ $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/fs_config_generator.py $(TARGET_FS_CONFIG_G
|
||||||
|
|
||||||
##################################
|
##################################
|
||||||
# Generate the system_ext/etc/fs_config_files binary file for the target
|
# Generate the system_ext/etc/fs_config_files binary file for the target
|
||||||
# Add fs_config_files of fs_config_files_system_ext to PRODUCT_PACKAGES in
|
# Add fs_config_files or fs_config_files_system_ext to PRODUCT_PACKAGES in
|
||||||
# the device make file to enable
|
# the device make file to enable
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
|
||||||
LOCAL_MODULE := fs_config_files_system_ext
|
LOCAL_MODULE := _fs_config_files_system_ext
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
LOCAL_INSTALLED_MODULE_STEM := fs_config_files
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_SYSTEM_EXT)/etc
|
LOCAL_MODULE_PATH := $(TARGET_OUT_SYSTEM_EXT)/etc
|
||||||
|
|
Loading…
Reference in New Issue