Initial import
Change-Id: Ifa659a0b698d94cbc71aecbfc70782a5ad40816c
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
diff --git a/AndroidProducts.mk b/AndroidProducts.mk
new file mode 100644
index 0000000..8f3dd23
--- /dev/null
+++ b/AndroidProducts.mk
@@ -0,0 +1,13 @@
+#
+# Copyright (C) 2022 SHIFT GmbH
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+PRODUCT_MAKEFILES += \
+ $(LOCAL_DIR)/axolotl.mk \
+
+COMMON_LUNCH_CHOICES += \
+ axolotl-eng \
+ axolotl-userdebug \
+ axolotl-user \
diff --git a/BoardConfig.mk b/BoardConfig.mk
new file mode 100644
index 0000000..0270328
--- /dev/null
+++ b/BoardConfig.mk
@@ -0,0 +1,15 @@
+#
+# Copyright (C) 2022 SHIFT GmbH
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+ifeq ($(TARGET_BUILD_VARIANT),eng)
+ TARGET_KERNEL_CONFIG := axolotl_eng_defconfig
+else
+ ifeq ($(TARGET_BUILD_VARIANT),userdebug)
+ TARGET_KERNEL_CONFIG := axolotl_userdebug_defconfig
+ else
+ TARGET_KERNEL_CONFIG := axolotl_user_defconfig
+ endif
+endif
diff --git a/axolotl.mk b/axolotl.mk
new file mode 100644
index 0000000..1600acb
--- /dev/null
+++ b/axolotl.mk
@@ -0,0 +1,14 @@
+#
+# Copyright (C) 2022 SHIFT GmbH
+#
+# SPDX-License-Identifier: Apache-2.0
+#
+
+# Inherit from full device.
+$(call inherit-product, device/shift/axolotl/full_axolotl.mk)
+
+# Inherit some common SHIFT stuff.
+$(call inherit-product, vendor/shiftos/config/common_full.mk)
+
+# Override product name for SHIFT.
+PRODUCT_NAME := axolotl