summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAmit Pundir <amit.pundir@linaro.org>2018-02-14 20:40:17 +0530
committerAmit Pundir <amit.pundir@linaro.org>2018-03-06 19:57:03 +0530
commit9c7bf982a1ad769553c0072ac66d94537986d8e9 (patch)
tree65df52c7d4812c58c07fbca7ee64028138545eeb /Android.mk
db410c32_only: Initial Commit
* 32-bit only userspace build * WiFi/BT Works * ADB, MTP/PTP, Tethering Gadgets Work Change-Id: Ie60f82d6bb796c102acd0eb7a0abbeaaa364c1b0 Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk31
1 files changed, 31 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..68faaa1
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,31 @@
+#
+# Copyright (C) 2015 The Android Open-Source 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.panda), 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.
+
+ifneq ($(filter db%, $(TARGET_DEVICE)),)
+
+LOCAL_PATH := $(call my-dir)
+
+# if some modules are built directly from this directory (not subdirectories),
+# their rules should be written here.
+
+include $(call all-makefiles-under,$(LOCAL_PATH))
+endif