aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraudahadi <wan.audahadi@gmail.com>2016-10-09 15:39:34 +0800
committeraudahadi <wan.audahadi@gmail.com>2016-10-09 15:40:25 +0800
commitae5d2334088c157a118067f2e46c43b47d5fb3cc (patch)
treeb6ab032fda55c8f583a1dd6540525e6beced6c00
parentac4b159404cc02e4af0b34b0983907f109fffe4f (diff)
move init target to rootdir
-rw-r--r--Android.mk9
-rw-r--r--rootdir/Android.mk31
-rwxr-xr-xrootdir/etc/init.target.rc (renamed from init.target.rc)0
3 files changed, 31 insertions, 9 deletions
diff --git a/Android.mk b/Android.mk
index 5ccbf3a..f2d5eda 100644
--- a/Android.mk
+++ b/Android.mk
@@ -24,15 +24,6 @@ LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),Z010D)
include $(call all-makefiles-under,$(LOCAL_PATH))
-# Init scripts
-include $(CLEAR_VARS)
-LOCAL_MODULE := init.target.rc
-LOCAL_MODULE_TAGS := optional eng
-LOCAL_MODULE_CLASS := ETC
-LOCAL_SRC_FILES := init.target.rc
-LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
-include $(BUILD_PREBUILT)
-
WCNSS_CONFIG_SYMLINK := $(TARGET_OUT_ETC)/firmware/wlan/prima/WCNSS_qcom_cfg.ini
$(WCNSS_CONFIG_SYMLINK): $(LOCAL_INSTALLED_MODULE)
@echo "WCNSS config link: $@"
diff --git a/rootdir/Android.mk b/rootdir/Android.mk
new file mode 100644
index 0000000..396884f
--- /dev/null
+++ b/rootdir/Android.mk
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2016 The CyanogenMod Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# WARNING: Everything listed here will be built on ALL platforms,
+# including x86, the emulator, and the SDK. Modules must be uniquely
+# named (liblights.tuna), and must build everywhere, or limit themselves
+# to only building on ARM if they include assembly. Individual makefiles
+# are responsible for having their own logic, for fine-grained control.
+
+LOCAL_PATH := $(call my-dir)
+
+# Init scripts
+include $(CLEAR_VARS)
+LOCAL_MODULE := init.target.rc
+LOCAL_MODULE_TAGS := optional eng
+LOCAL_MODULE_CLASS := ETC
+LOCAL_SRC_FILES := etc/init.target.rc
+LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
+include $(BUILD_PREBUILT)
diff --git a/init.target.rc b/rootdir/etc/init.target.rc
index c5a71aa..c5a71aa 100755
--- a/init.target.rc
+++ b/rootdir/etc/init.target.rc