commit 8e7ec96e8b9cab3c8676c946feba40ac43b38106 Author: SGCMarkus Date: Mon Feb 14 13:44:05 2022 +0100 sm8250-common: include local files only for nio and pstar 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