2009-03-04 04:32:55 +01:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
2022-02-13 06:20:41 +01:00
|
|
|
$(eval $(call declare-1p-copy-files,system/core/rootdir,))
|
|
|
|
|
2016-01-28 18:32:53 +01:00
|
|
|
#######################################
|
|
|
|
# init-debug.rc
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := init-debug.rc
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2016-01-28 18:32:53 +01:00
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/init
|
|
|
|
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2015-08-08 02:04:37 +02:00
|
|
|
#######################################
|
|
|
|
# asan.options
|
2015-09-18 20:59:46 +02:00
|
|
|
ifneq ($(filter address,$(SANITIZE_TARGET)),)
|
2016-06-23 05:05:59 +02:00
|
|
|
|
2015-08-08 02:04:37 +02:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := asan.options
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2015-08-08 02:04:37 +02:00
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT)
|
|
|
|
|
|
|
|
include $(BUILD_PREBUILT)
|
2016-06-23 05:05:59 +02:00
|
|
|
|
2017-03-22 03:36:48 +01:00
|
|
|
# ASAN extration.
|
|
|
|
ASAN_EXTRACT_FILES :=
|
|
|
|
ifeq ($(SANITIZE_TARGET_SYSTEM),true)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= asan_extract
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS:= SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS:= notice
|
2017-03-22 03:36:48 +01:00
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
LOCAL_MODULE_CLASS := EXECUTABLES
|
|
|
|
LOCAL_SRC_FILES := asan_extract.sh
|
|
|
|
LOCAL_INIT_RC := asan_extract.rc
|
|
|
|
# We need bzip2 on device for extraction.
|
|
|
|
LOCAL_REQUIRED_MODULES := bzip2
|
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
ASAN_EXTRACT_FILES := asan_extract
|
|
|
|
endif
|
|
|
|
|
2015-08-08 02:04:37 +02:00
|
|
|
endif
|
|
|
|
|
2013-07-24 03:03:37 +02:00
|
|
|
#######################################
|
|
|
|
# init.environ.rc
|
2012-04-04 20:26:59 +02:00
|
|
|
|
2013-07-24 03:03:37 +02:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_MODULE := init.environ.rc
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2013-07-24 03:03:37 +02:00
|
|
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
2009-03-04 04:32:55 +01:00
|
|
|
|
2015-08-08 02:04:37 +02:00
|
|
|
EXPORT_GLOBAL_ASAN_OPTIONS :=
|
2015-09-18 20:59:46 +02:00
|
|
|
ifneq ($(filter address,$(SANITIZE_TARGET)),)
|
2015-08-08 02:04:37 +02:00
|
|
|
EXPORT_GLOBAL_ASAN_OPTIONS := export ASAN_OPTIONS include=/system/asan.options
|
2017-03-22 03:36:48 +01:00
|
|
|
LOCAL_REQUIRED_MODULES := asan.options $(ASAN_OPTIONS_FILES) $(ASAN_EXTRACT_FILES)
|
2015-08-08 02:04:37 +02:00
|
|
|
endif
|
2017-02-22 02:27:02 +01:00
|
|
|
|
2018-10-04 03:24:42 +02:00
|
|
|
EXPORT_GLOBAL_HWASAN_OPTIONS :=
|
|
|
|
ifneq ($(filter hwaddress,$(SANITIZE_TARGET)),)
|
|
|
|
ifneq ($(HWADDRESS_SANITIZER_GLOBAL_OPTIONS),)
|
|
|
|
EXPORT_GLOBAL_HWASAN_OPTIONS := export HWASAN_OPTIONS $(HWADDRESS_SANITIZER_GLOBAL_OPTIONS)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2023-11-08 18:03:10 +01:00
|
|
|
EXPORT_GLOBAL_SCUDO_ALLOCATION_RING_BUFFER_SIZE :=
|
|
|
|
ifneq ($(PRODUCT_SCUDO_ALLOCATION_RING_BUFFER_SIZE),)
|
|
|
|
EXPORT_GLOBAL_SCUDO_ALLOCATION_RING_BUFFER_SIZE := export SCUDO_ALLOCATION_RING_BUFFER_SIZE $(PRODUCT_SCUDO_ALLOCATION_RING_BUFFER_SIZE)
|
|
|
|
endif
|
|
|
|
|
2017-02-22 02:27:02 +01:00
|
|
|
EXPORT_GLOBAL_GCOV_OPTIONS :=
|
|
|
|
ifeq ($(NATIVE_COVERAGE),true)
|
2019-04-03 00:26:33 +02:00
|
|
|
EXPORT_GLOBAL_GCOV_OPTIONS := export GCOV_PREFIX /data/misc/trace
|
2017-02-22 02:27:02 +01:00
|
|
|
endif
|
|
|
|
|
2022-01-18 22:07:23 +01:00
|
|
|
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS :=
|
2019-12-07 00:58:04 +01:00
|
|
|
ifeq ($(CLANG_COVERAGE),true)
|
2022-01-27 22:18:02 +01:00
|
|
|
ifeq ($(CLANG_COVERAGE_CONTINUOUS_MODE),true)
|
|
|
|
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang%c-%20m.profraw
|
|
|
|
else
|
|
|
|
EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS := export LLVM_PROFILE_FILE /data/misc/trace/clang-%20m.profraw
|
|
|
|
endif
|
2019-12-07 00:58:04 +01:00
|
|
|
endif
|
|
|
|
|
2013-07-24 03:03:37 +02:00
|
|
|
# Put it here instead of in init.rc module definition,
|
|
|
|
# because init.rc is conditionally included.
|
|
|
|
#
|
2015-07-29 00:14:39 +02:00
|
|
|
# create some directories (some are mount points) and symlinks
|
2015-10-28 21:13:37 +01:00
|
|
|
LOCAL_POST_INSTALL_CMD := mkdir -p $(addprefix $(TARGET_ROOT_OUT)/, \
|
2023-08-09 09:05:31 +02:00
|
|
|
dev proc sys system data data_mirror odm oem acct config storage mnt apex bootstrap-apex debug_ramdisk \
|
2023-12-14 23:03:07 +01:00
|
|
|
linkerconfig second_stage_resources postinstall tmp $(BOARD_ROOT_EXTRA_FOLDERS)); \
|
2017-12-06 17:59:02 +01:00
|
|
|
ln -sf /system/bin $(TARGET_ROOT_OUT)/bin; \
|
2015-07-29 00:14:39 +02:00
|
|
|
ln -sf /system/etc $(TARGET_ROOT_OUT)/etc; \
|
2016-11-19 21:09:33 +01:00
|
|
|
ln -sf /data/user_de/0/com.android.shell/files/bugreports $(TARGET_ROOT_OUT)/bugreports; \
|
2019-12-07 02:43:23 +01:00
|
|
|
ln -sfn /sys/kernel/debug $(TARGET_ROOT_OUT)/d; \
|
2015-07-29 00:14:39 +02:00
|
|
|
ln -sf /storage/self/primary $(TARGET_ROOT_OUT)/sdcard
|
2023-08-11 03:18:36 +02:00
|
|
|
|
|
|
|
ALL_ROOTDIR_SYMLINKS := \
|
|
|
|
$(TARGET_ROOT_OUT)/bin \
|
|
|
|
$(TARGET_ROOT_OUT)/etc \
|
|
|
|
$(TARGET_ROOT_OUT)/bugreports \
|
|
|
|
$(TARGET_ROOT_OUT)/d \
|
|
|
|
$(TARGET_ROOT_OUT)/sdcard
|
|
|
|
|
2016-07-09 03:08:51 +02:00
|
|
|
ifdef BOARD_USES_VENDORIMAGE
|
2015-10-28 21:13:37 +01:00
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/vendor
|
2015-11-11 23:49:47 +01:00
|
|
|
else
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /system/vendor $(TARGET_ROOT_OUT)/vendor
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/vendor
|
2015-10-28 21:13:37 +01:00
|
|
|
endif
|
2017-11-28 04:10:10 +01:00
|
|
|
ifdef BOARD_USES_PRODUCTIMAGE
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/product
|
|
|
|
else
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /system/product $(TARGET_ROOT_OUT)/product
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/product
|
2017-11-28 04:10:10 +01:00
|
|
|
endif
|
2019-06-26 02:18:03 +02:00
|
|
|
ifdef BOARD_USES_SYSTEM_EXTIMAGE
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/system_ext
|
2018-05-25 17:07:19 +02:00
|
|
|
else
|
2019-06-26 02:18:03 +02:00
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /system/system_ext $(TARGET_ROOT_OUT)/system_ext
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/system_ext
|
2018-05-25 17:07:19 +02:00
|
|
|
endif
|
2018-05-17 19:12:34 +02:00
|
|
|
ifdef BOARD_USES_METADATA_PARTITION
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/metadata
|
|
|
|
endif
|
2017-11-15 11:06:48 +01:00
|
|
|
|
|
|
|
# For /odm partition.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/odm
|
|
|
|
# For Treble Generic System Image (GSI), system-as-root GSI needs to work on
|
|
|
|
# both devices with and without /odm partition. Those symlinks are for devices
|
|
|
|
# without /odm partition. For devices with /odm partition, mount odm.img under
|
|
|
|
# /odm will hide those symlinks.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/app $(TARGET_ROOT_OUT)/odm/app
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/bin $(TARGET_ROOT_OUT)/odm/bin
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/etc $(TARGET_ROOT_OUT)/odm/etc
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/firmware $(TARGET_ROOT_OUT)/odm/firmware
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/framework $(TARGET_ROOT_OUT)/odm/framework
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/lib $(TARGET_ROOT_OUT)/odm/lib
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/lib64 $(TARGET_ROOT_OUT)/odm/lib64
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/overlay $(TARGET_ROOT_OUT)/odm/overlay
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/priv-app $(TARGET_ROOT_OUT)/odm/priv-app
|
2018-10-16 12:24:08 +02:00
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/odm/usr $(TARGET_ROOT_OUT)/odm/usr
|
2017-11-15 11:06:48 +01:00
|
|
|
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/app \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/bin \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/etc \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/firmware \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/framework \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/lib \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/lib64 \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/overlay \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/priv-app \
|
|
|
|
$(TARGET_ROOT_OUT)/odm/usr
|
|
|
|
|
2020-05-14 06:30:09 +02:00
|
|
|
|
|
|
|
# For /vendor_dlkm partition.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/vendor_dlkm
|
|
|
|
# For Treble Generic System Image (GSI), system-as-root GSI needs to work on
|
|
|
|
# both devices with and without /vendor_dlkm partition. Those symlinks are for
|
|
|
|
# devices without /vendor_dlkm partition. For devices with /vendor_dlkm
|
|
|
|
# partition, mount vendor_dlkm.img under /vendor_dlkm will hide those symlinks.
|
|
|
|
# Note that /vendor_dlkm/lib is omitted because vendor DLKMs should be accessed
|
|
|
|
# via /vendor/lib/modules directly.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /vendor/vendor_dlkm/etc $(TARGET_ROOT_OUT)/vendor_dlkm/etc
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/vendor_dlkm/etc
|
2020-05-14 06:30:09 +02:00
|
|
|
|
2020-07-16 02:08:59 +02:00
|
|
|
# For /odm_dlkm partition.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/odm_dlkm
|
|
|
|
# For Treble Generic System Image (GSI), system-as-root GSI needs to work on
|
|
|
|
# both devices with and without /odm_dlkm partition. Those symlinks are for
|
|
|
|
# devices without /odm_dlkm partition. For devices with /odm_dlkm
|
|
|
|
# partition, mount odm_dlkm.img under /odm_dlkm will hide those symlinks.
|
|
|
|
# Note that /odm_dlkm/lib is omitted because odm DLKMs should be accessed
|
|
|
|
# via /odm/lib/modules directly.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /odm/odm_dlkm/etc $(TARGET_ROOT_OUT)/odm_dlkm/etc
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/odm_dlkm/etc
|
2020-07-16 02:08:59 +02:00
|
|
|
|
2022-02-02 20:45:22 +01:00
|
|
|
# For /system_dlkm partition
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/system_dlkm
|
|
|
|
|
2016-05-13 23:22:14 +02:00
|
|
|
ifdef BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; mkdir -p $(TARGET_ROOT_OUT)/cache
|
|
|
|
else
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /data/cache $(TARGET_ROOT_OUT)/cache
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/cache
|
2016-05-13 23:22:14 +02:00
|
|
|
endif
|
2015-10-28 21:13:37 +01:00
|
|
|
ifdef BOARD_ROOT_EXTRA_SYMLINKS
|
|
|
|
# BOARD_ROOT_EXTRA_SYMLINKS is a list of <target>:<link_name>.
|
|
|
|
LOCAL_POST_INSTALL_CMD += $(foreach s, $(BOARD_ROOT_EXTRA_SYMLINKS),\
|
|
|
|
$(eval p := $(subst :,$(space),$(s)))\
|
|
|
|
; mkdir -p $(dir $(TARGET_ROOT_OUT)/$(word 2,$(p))) \
|
|
|
|
; ln -sf $(word 1,$(p)) $(TARGET_ROOT_OUT)/$(word 2,$(p)))
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(foreach s,$(BOARD_ROOT_EXTRA_SYMLINKS),$(TARGET_ROOT_OUT)/$(call word-colon,2,$s))
|
2015-07-29 00:14:39 +02:00
|
|
|
endif
|
2013-07-24 03:03:37 +02:00
|
|
|
|
2019-11-04 19:30:36 +01:00
|
|
|
# The init symlink must be a post install command of a file that is to TARGET_ROOT_OUT.
|
|
|
|
# Since init.environ.rc is required for init and satisfies that requirement, we hijack it to create the symlink.
|
|
|
|
LOCAL_POST_INSTALL_CMD += ; ln -sf /system/bin/init $(TARGET_ROOT_OUT)/init
|
2023-08-11 03:18:36 +02:00
|
|
|
ALL_ROOTDIR_SYMLINKS += $(TARGET_ROOT_OUT)/init
|
|
|
|
|
|
|
|
ALL_DEFAULT_INSTALLED_MODULES += $(ALL_ROOTDIR_SYMLINKS)
|
2019-11-04 19:30:36 +01:00
|
|
|
|
2013-07-24 03:03:37 +02:00
|
|
|
include $(BUILD_SYSTEM)/base_rules.mk
|
|
|
|
|
2023-08-11 03:18:36 +02:00
|
|
|
$(ALL_ROOTDIR_SYMLINKS): $(LOCAL_BUILT_MODULE)
|
2018-10-23 00:50:39 +02:00
|
|
|
$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/init.environ.rc.in
|
2013-07-24 03:03:37 +02:00
|
|
|
@echo "Generate: $< -> $@"
|
|
|
|
@mkdir -p $(dir $@)
|
2021-02-15 21:51:38 +01:00
|
|
|
$(hide) cp $< $@
|
2015-06-13 00:42:20 +02:00
|
|
|
$(hide) sed -i -e 's?%EXPORT_GLOBAL_ASAN_OPTIONS%?$(EXPORT_GLOBAL_ASAN_OPTIONS)?g' $@
|
2017-02-22 02:27:02 +01:00
|
|
|
$(hide) sed -i -e 's?%EXPORT_GLOBAL_GCOV_OPTIONS%?$(EXPORT_GLOBAL_GCOV_OPTIONS)?g' $@
|
2019-12-07 00:58:04 +01:00
|
|
|
$(hide) sed -i -e 's?%EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS%?$(EXPORT_GLOBAL_CLANG_COVERAGE_OPTIONS)?g' $@
|
2018-10-04 03:24:42 +02:00
|
|
|
$(hide) sed -i -e 's?%EXPORT_GLOBAL_HWASAN_OPTIONS%?$(EXPORT_GLOBAL_HWASAN_OPTIONS)?g' $@
|
2023-11-08 18:03:10 +01:00
|
|
|
$(hide) sed -i -e 's?%EXPORT_GLOBAL_SCUDO_ALLOCATION_RING_BUFFER_SIZE%?$(EXPORT_GLOBAL_SCUDO_ALLOCATION_RING_BUFFER_SIZE)?g' $@
|
2013-07-24 03:03:37 +02:00
|
|
|
|
2018-05-08 14:12:19 +02:00
|
|
|
# Append PLATFORM_VNDK_VERSION to base name.
|
2018-01-10 01:38:19 +01:00
|
|
|
define append_vndk_version
|
2017-12-07 09:31:53 +01:00
|
|
|
$(strip \
|
2018-05-08 14:12:19 +02:00
|
|
|
$(basename $(1)).$(PLATFORM_VNDK_VERSION)$(suffix $(1)) \
|
2017-12-07 09:31:53 +01:00
|
|
|
)
|
|
|
|
endef
|
|
|
|
|
2019-07-16 03:09:28 +02:00
|
|
|
#######################################
|
|
|
|
# sanitizer.libraries.txt
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE := sanitizer.libraries.txt
|
2021-02-17 04:02:14 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2019-07-16 03:09:28 +02:00
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)
|
|
|
|
LOCAL_MODULE_STEM := $(LOCAL_MODULE)
|
|
|
|
include $(BUILD_SYSTEM)/base_rules.mk
|
2022-02-17 20:19:48 +01:00
|
|
|
$(LOCAL_BUILT_MODULE): PRIVATE_SANITIZER_RUNTIME_LIBRARIES := \
|
|
|
|
$(SANITIZER_STEMS) \
|
|
|
|
$(2ND_SANITIZER_STEMS)
|
2019-07-16 03:09:28 +02:00
|
|
|
$(LOCAL_BUILT_MODULE):
|
|
|
|
@echo "Generate: $@"
|
|
|
|
@mkdir -p $(dir $@)
|
|
|
|
$(hide) echo -n > $@
|
|
|
|
$(hide) $(foreach lib,$(PRIVATE_SANITIZER_RUNTIME_LIBRARIES), \
|
|
|
|
echo $(lib) >> $@;)
|
|
|
|
|
2023-01-11 18:55:04 +01:00
|
|
|
#######################################
|
|
|
|
# ramdisk_node_list
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE := ramdisk_node_list
|
|
|
|
LOCAL_MODULE_CLASS := ETC
|
|
|
|
LOCAL_SRC_FILES := $(LOCAL_MODULE)
|
|
|
|
LOCAL_MODULE_PATH := $(PRODUCT_OUT)
|
|
|
|
|
2023-02-09 20:29:51 +01:00
|
|
|
LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
|
|
|
|
LOCAL_LICENSE_CONDITIONS := notice
|
2023-01-11 18:55:04 +01:00
|
|
|
include $(BUILD_PREBUILT)
|
|
|
|
|
2019-03-28 15:58:40 +01:00
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|