diff options
author | Abhishek Arpure <aarpure@codeaurora.org> | 2017-05-19 08:32:12 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-02-25 02:09:48 +0100 |
commit | 15087283d31e09165caf099cd3e574e31ff640fb (patch) | |
tree | 999e0442e4254177ede93b96d0a3075d6cf336ff /rootdir/Android.mk | |
parent | 2bfb61bf2a3a92d9fccdcc0d8bd65c6a9e8cbe8b (diff) |
msm8996-common: Move hardware specific .rc files to /vendor/etc/init/hw
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.
Change-Id: I14531da05e2a3a256f734f8de96e1f1969c753f9
Diffstat (limited to 'rootdir/Android.mk')
-rw-r--r-- | rootdir/Android.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/rootdir/Android.mk b/rootdir/Android.mk index bcdc60c..9324fcb 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -16,7 +16,7 @@ LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.qcom.power.rc LOCAL_VENDOR_MODULE := true -LOCAL_MODULE_RELATIVE_PATH := init/hw +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw include $(BUILD_PREBUILT) include $(CLEAR_VARS) @@ -25,7 +25,7 @@ LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.qcom.rc LOCAL_VENDOR_MODULE := true -LOCAL_MODULE_RELATIVE_PATH := init/hw +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw include $(BUILD_PREBUILT) include $(CLEAR_VARS) @@ -34,7 +34,7 @@ LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.qcom.usb.rc LOCAL_VENDOR_MODULE := true -LOCAL_MODULE_RELATIVE_PATH := init/hw +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw include $(BUILD_PREBUILT) include $(CLEAR_VARS) |