• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2009 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
17PRODUCT_COPY_FILES += \
18    kernel/prebuilts/5.4/x86_64/kernel-5.4:kernel-5.4 \
19    kernel/prebuilts/5.10/x86_64/kernel-5.10:kernel-5.10 \
20
21$(call dist-for-goals, dist_files, kernel/prebuilts/5.4/x86_64/prebuilt-info.txt:kernel/5.4/prebuilt-info.txt)
22$(call dist-for-goals, dist_files, kernel/prebuilts/5.10/x86_64/prebuilt-info.txt:kernel/5.10/prebuilt-info.txt)
23
24ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
25PRODUCT_COPY_FILES += \
26    kernel/prebuilts/5.4/x86_64/kernel-5.4-allsyms:kernel-5.4-allsyms \
27    kernel/prebuilts/5.10/x86_64/kernel-5.10-allsyms:kernel-5.10-allsyms \
28
29endif
30
31PRODUCT_BUILD_VENDOR_BOOT_IMAGE := false
32PRODUCT_BUILD_RECOVERY_IMAGE := false
33
34$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
35