summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Android.mk29
-rw-r--r--cm.mk12
2 files changed, 41 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..3fe47f0
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,29 @@
+#
+# Copyright (C) 2015 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.
+#
+
+LOCAL_PATH := $(call my-dir)
+
+ifneq ($(filter arm64,$(TARGET_DEVICE)),)
+
+include $(call all-subdir-makefiles,$(LOCAL_PATH))
+
+# Many modules depend on kernel headers to build via
+# LOCAL_ADDITIONAL_DEPENDENCIES. Satisfy those here
+# because we aren't building a kernel.
+$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ/usr:
+ mkdir -p $@
+
+endif
diff --git a/cm.mk b/cm.mk
new file mode 100644
index 0000000..46880f4
--- /dev/null
+++ b/cm.mk
@@ -0,0 +1,12 @@
+# Inherit some common CM stuff.
+$(call inherit-product, vendor/cm/config/common_full_phone.mk)
+
+# Inherit device configuration
+$(call inherit-product, device/generic/arm64/mini_arm64.mk)
+
+PRODUCT_NAME := cm_arm64
+PRODUCT_DEVICE := arm64
+PRODUCT_BRAND := CyanogenMod
+PRODUCT_MODEL := arm64
+
+bacon: droid