Alistair Strachan | 92fde49 | 2019-04-23 12:51:54 -0700 | [diff] [blame] | 1 | # |
| 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 | |
| 23 | TARGET_BOARD_PLATFORM := vsoc_x86_64 |
| 24 | TARGET_ARCH := x86_64 |
| 25 | TARGET_ARCH_VARIANT := silvermont |
| 26 | TARGET_CPU_ABI := x86_64 |
dimitry | a155e14 | 2019-07-26 13:44:16 +0200 | [diff] [blame] | 27 | |
Alistair Strachan | 92fde49 | 2019-04-23 12:51:54 -0700 | [diff] [blame] | 28 | TARGET_2ND_ARCH := x86 |
| 29 | TARGET_2ND_CPU_ABI := x86 |
Alistair Strachan | 92fde49 | 2019-04-23 12:51:54 -0700 | [diff] [blame] | 30 | TARGET_2ND_ARCH_VARIANT := silvermont |
| 31 | TARGET_2ND_CPU_VARIANT := silvermont |
Alistair Strachan | 92fde49 | 2019-04-23 12:51:54 -0700 | [diff] [blame] | 32 | |
dimitry | b4eb7aa | 2019-05-21 12:56:43 +0200 | [diff] [blame] | 33 | TARGET_NATIVE_BRIDGE_ARCH := arm64 |
| 34 | TARGET_NATIVE_BRIDGE_ARCH_VARIANT := armv8-a |
| 35 | TARGET_NATIVE_BRIDGE_CPU_VARIANT := generic |
| 36 | TARGET_NATIVE_BRIDGE_ABI := arm64-v8a |
| 37 | |
| 38 | TARGET_NATIVE_BRIDGE_2ND_ARCH := arm |
| 39 | TARGET_NATIVE_BRIDGE_2ND_ARCH_VARIANT := armv7-a-neon |
| 40 | TARGET_NATIVE_BRIDGE_2ND_CPU_VARIANT := generic |
| 41 | TARGET_NATIVE_BRIDGE_2ND_ABI := armeabi-v7a armeabi |
| 42 | |
Ram Muthiah | 962b481 | 2020-08-27 00:54:13 +0000 | [diff] [blame] | 43 | TARGET_NO_BOOTLOADER := false |
| 44 | BOARD_PREBUILT_BOOTLOADER := device/google/cuttlefish_prebuilts/bootloader/crosvm_x86_64/u-boot.rom |
| 45 | |
dimitry | b4eb7aa | 2019-05-21 12:56:43 +0200 | [diff] [blame] | 46 | BUILD_BROKEN_DUP_RULES := true |
Ram Muthiah | 64cf1fb | 2019-11-25 12:02:28 -0800 | [diff] [blame] | 47 | BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(wildcard device/google/cuttlefish_kernel/5.4-x86_64/*.ko) |
Alistair Delva | 9d26764 | 2020-02-18 22:09:30 -0800 | [diff] [blame] | 48 | |
| 49 | # TODO(b/149410031): temporarily exclude sdcardfs |
| 50 | BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out %/sdcardfs.ko,$(BOARD_VENDOR_RAMDISK_KERNEL_MODULES)) |