From 8e7ec96e8b9cab3c8676c946feba40ac43b38106 Mon Sep 17 00:00:00 2001 From: SGCMarkus Date: Mon, 14 Feb 2022 13:44:05 +0100 Subject: [PATCH] sm8250-common: include local files only for nio and pstar --- Android.mk | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 Android.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..d8db2ca --- /dev/null +++ b/Android.mk @@ -0,0 +1,25 @@ +# +# Copyright (C) 2022 The LineageOS 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 nio pstar,$(TARGET_DEVICE)),) +subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH)) +$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk))) + +include $(CLEAR_VARS) + +endif \ No newline at end of file