1# 2# Copyright (C) 2024 The Android Open-Source Project 3# 4# Licensed under the Apache License, Version 2.0 (the "License"); 5# you may not use this file except in compliance with the License. 6# You may obtain a copy of the License at 7# 8# http://www.apache.org/licenses/LICENSE-2.0 9# 10# Unless required by applicable law or agreed to in writing, software 11# distributed under the License is distributed on an "AS IS" BASIS, 12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13# See the License for the specific language governing permissions and 14# limitations under the License. 15# 16 17ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) 18 19ifneq ($(TARGET_LINUX_KERNEL_VERSION),5.10) 20 21# Init files 22PRODUCT_COPY_FILES += \ 23 device/google/common/etm/$(TARGET_BOARD_PLATFORM).init.etm.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.etm.rc 24 25# insmod files 26PRODUCT_COPY_FILES += \ 27 device/google/common/etm/init.insmod.etm.cfg:$(TARGET_COPY_OUT_VENDOR)/etc/init.insmod.etm.cfg 28 29endif 30 31endif 32