• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 target for Cuttlefish
19#
20
21-include device/google/cuttlefish/shared/BoardConfig.mk
22
23TARGET_BOARD_PLATFORM := vsoc_x86
24TARGET_ARCH := x86
25TARGET_ARCH_VARIANT := x86
26TARGET_CPU_ABI := x86
27
28TARGET_NATIVE_BRIDGE_ARCH := arm
29TARGET_NATIVE_BRIDGE_ARCH_VARIANT := armv7-a-neon
30TARGET_NATIVE_BRIDGE_CPU_VARIANT := generic
31TARGET_NATIVE_BRIDGE_ABI := armeabi-v7a armeabi
32
33BUILD_BROKEN_DUP_RULES := true
34
35ifeq ($(BOARD_VENDOR_RAMDISK_KERNEL_MODULES),)
36    BOARD_VENDOR_RAMDISK_KERNEL_MODULES += $(wildcard kernel/prebuilts/common-modules/virtual-device/5.10/x86-64/*.ko)
37endif
38
39# TODO(b/156534160): Temporarily allow for the old style PRODUCT_COPY_FILES for ndk_translation_prebuilt
40ifeq ($(USE_NDK_TRANSLATION_BINARY),true)
41BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true
42endif
43