mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
58de415064
The reason these files are moved to /vendor/etc/init/hw and not /vendor/etc/init is because 'init' scans the /vendor/etc/init folder for vendor service .rc fragments to import. That would either result in duplicate imports or out-of-order imports of these hardware specific .rc files and that *may* have unintended consequences. In order to preserve the current import order for MTP, we move all hardware specific .rc files to /vendor/etc/init/hw which is not autoscanned by init BUT leave the init.${ro.hardware}.rc (i.e. init.qcom.rc in this case) in root for 'init' to find. Signed-off-by: Joshua Primero <jprimero155@gmail.com>
61 lines
1.8 KiB
Makefile
61 lines
1.8 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# Init
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.qcom.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/init.qcom.rc
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
|
|
include $(BUILD_PREBUILT)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.qcom.usb.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/init.qcom.usb.rc
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
|
|
include $(BUILD_PREBUILT)
|
|
|
|
# Copy the power config for recovery too
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.recovery.qcom.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/init.qcom.power.rc
|
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
|
include $(BUILD_PREBUILT)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := ueventd.qcom.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/ueventd.qcom.rc
|
|
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
|
include $(BUILD_PREBUILT)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.qcom.power.rc
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/init.qcom.power.rc
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
|
|
include $(BUILD_PREBUILT)
|
|
|
|
# Configuration scripts
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.qcom.bt.sh
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/scripts/init.qcom.bt.sh
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
|
include $(BUILD_PREBUILT)
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE := init.ril.sh
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_SRC_FILES := etc/scripts/init.ril.sh
|
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
|
include $(BUILD_PREBUILT)
|