blob: 2dc79198c9aa667a94880538ddf42ffb92b5a5ab [file] [log] [blame]
SzuWei Linf346c9a2021-12-30 18:40:38 +08001#
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#
26include device/generic/common/gki_common.mk
SzuWei Lin239b3e92022-04-22 13:05:30 +080027
28PRODUCT_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
35ifneq (,$(filter userdebug eng,$(TARGET_BUILD_VARIANT)))
36
37PRODUCT_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
44endif
SzuWei Linf346c9a2021-12-30 18:40:38 +080045
46
47PRODUCT_NAME := gki_x86_64
48PRODUCT_DEVICE := gki_x86_64
49PRODUCT_BRAND := Android
50PRODUCT_MODEL := GKI on x86_64