SzuWei Lin | f346c9a | 2021-12-30 18:40:38 +0800 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2022 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 | |
| 17 | # |
| 18 | # TODO (b/212486689): The minimum system stuff for build pass. |
| 19 | # |
| 20 | $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) |
| 21 | $(call inherit-product, $(SRC_TARGET_DIR)/product/runtime_libart.mk) |
| 22 | |
| 23 | # |
| 24 | # Build GKI boot images |
| 25 | # |
| 26 | include device/generic/common/gki_common.mk |
SzuWei Lin | 239b3e9 | 2022-04-22 13:05:30 +0800 | [diff] [blame] | 27 | |
| 28 | PRODUCT_COPY_FILES += \ |
| 29 | kernel/prebuilts/5.10/x86_64/kernel-5.10:kernel-5.10 \ |
| 30 | kernel/prebuilts/5.15/x86_64/kernel-5.15:kernel-5.15 \ |
| 31 | |
| 32 | $(call dist-for-goals,dist_files,kernel/prebuilts/5.10/x86_64/prebuilt-info.txt:kernel/5.10/prebuilt-info.txt) |
| 33 | $(call dist-for-goals,dist_files,kernel/prebuilts/5.15/x86_64/prebuilt-info.txt:kernel/5.15/prebuilt-info.txt) |
| 34 | |
| 35 | ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT))) |
| 36 | |
| 37 | PRODUCT_COPY_FILES += \ |
| 38 | kernel/prebuilts/5.10/x86_64/kernel-5.10-allsyms:kernel-5.10-allsyms \ |
| 39 | kernel/prebuilts/5.15/x86_64/kernel-5.15-allsyms:kernel-5.15-allsyms \ |
| 40 | |
| 41 | $(call dist-for-goals,dist_files,kernel/prebuilts/5.10/x86_64/prebuilt-info.txt:kernel/5.10-debug/prebuilt-info.txt) |
| 42 | $(call dist-for-goals,dist_files,kernel/prebuilts/5.15/x86_64/prebuilt-info.txt:kernel/5.15-debug/prebuilt-info.txt) |
| 43 | |
| 44 | endif |
SzuWei Lin | f346c9a | 2021-12-30 18:40:38 +0800 | [diff] [blame] | 45 | |
| 46 | |
| 47 | PRODUCT_NAME := gki_x86_64 |
| 48 | PRODUCT_DEVICE := gki_x86_64 |
| 49 | PRODUCT_BRAND := Android |
| 50 | PRODUCT_MODEL := GKI on x86_64 |