blob: c608c2e1c0c62d1aa8fafd40a8bc3b604afb2cd1 [file] [log] [blame]
Alistair Strachan92fde492019-04-23 12:51:54 -07001#
2# Copyright 2017 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# x86_64 target for Cuttlefish
19#
20
21-include device/google/cuttlefish/shared/BoardConfig.mk
22
23TARGET_BOARD_PLATFORM := vsoc_x86_64
24TARGET_ARCH := x86_64
25TARGET_ARCH_VARIANT := silvermont
26TARGET_CPU_ABI := x86_64
dimitrya155e142019-07-26 13:44:16 +020027
Alistair Strachan92fde492019-04-23 12:51:54 -070028TARGET_2ND_ARCH := x86
29TARGET_2ND_CPU_ABI := x86
Alistair Strachan92fde492019-04-23 12:51:54 -070030TARGET_2ND_ARCH_VARIANT := silvermont
31TARGET_2ND_CPU_VARIANT := silvermont
Alistair Strachan92fde492019-04-23 12:51:54 -070032
dimitryb4eb7aa2019-05-21 12:56:43 +020033TARGET_NATIVE_BRIDGE_ARCH := arm64
34TARGET_NATIVE_BRIDGE_ARCH_VARIANT := armv8-a
35TARGET_NATIVE_BRIDGE_CPU_VARIANT := generic
36TARGET_NATIVE_BRIDGE_ABI := arm64-v8a
37
38TARGET_NATIVE_BRIDGE_2ND_ARCH := arm
39TARGET_NATIVE_BRIDGE_2ND_ARCH_VARIANT := armv7-a-neon
40TARGET_NATIVE_BRIDGE_2ND_CPU_VARIANT := generic
41TARGET_NATIVE_BRIDGE_2ND_ABI := armeabi-v7a armeabi
42
Ram Muthiah962b4812020-08-27 00:54:13 +000043TARGET_NO_BOOTLOADER := false
44BOARD_PREBUILT_BOOTLOADER := device/google/cuttlefish_prebuilts/bootloader/crosvm_x86_64/u-boot.rom
45
dimitryb4eb7aa2019-05-21 12:56:43 +020046BUILD_BROKEN_DUP_RULES := true
Ram Muthiah64cf1fb2019-11-25 12:02:28 -080047BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(wildcard device/google/cuttlefish_kernel/5.4-x86_64/*.ko)
Alistair Delva9d267642020-02-18 22:09:30 -080048
49# TODO(b/149410031): temporarily exclude sdcardfs
50BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out %/sdcardfs.ko,$(BOARD_VENDOR_RAMDISK_KERNEL_MODULES))