diff options
Diffstat (limited to 'tc0/utils.mk')
-rw-r--r-- | tc0/utils.mk | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tc0/utils.mk b/tc0/utils.mk deleted file mode 100644 index 70433c0..0000000 --- a/tc0/utils.mk +++ /dev/null @@ -1,30 +0,0 @@ -# -# Copyright (C) 2019 The Android Open Source 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. -# - -include $(LOCAL_PATH)/version.mk - -# Copies an fstab file to the correct location(s) depending on Android version. -# Parameters: -# $1: Path to source fstab file. -# $2: Destination name of fstab file. -# Version-specific behavior: -# - Android 10: copies $(1) to root/$(2) and ramdisk/$(2) -# - Android 9: copies $(1) to root/$(2) -define arm-fstab-copy -$(if $(call arm-platform-min-level,10), \ - $(strip $(1)):$(TARGET_COPY_OUT_RAMDISK)/$(strip $(2)),) \ -$(strip $(1)):$(TARGET_COPY_OUT_ROOT)/$(strip $(2)) -endef |