summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kernel_definitions.mk2
-rw-r--r--legacy_definitions.mk17
2 files changed, 19 insertions, 0 deletions
diff --git a/kernel_definitions.mk b/kernel_definitions.mk
index 9f911b4..0ede39a 100644
--- a/kernel_definitions.mk
+++ b/kernel_definitions.mk
@@ -1,3 +1,5 @@
+include device/qcom/kernelscripts/legacy_definitions.mk
+
# Android Kernel compilation/common definitions
ifeq ($(KERNEL_DEFCONFIG),)
diff --git a/legacy_definitions.mk b/legacy_definitions.mk
new file mode 100644
index 0000000..2827470
--- /dev/null
+++ b/legacy_definitions.mk
@@ -0,0 +1,17 @@
+# Copyright (C) 2020 Paranoid Android
+#
+# 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.
+
+ifneq ($(TARGET_KERNEL_CONFIG),)
+ KERNEL_DEFCONFIG := $(TARGET_KERNEL_CONFIG)
+endif