Merge "Add devices suitable for single-arch module builds" am: df38c92dd1
Original change: https://android-review.googlesource.com/c/platform/build/+/1511789 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: Ifa1fc856b2dfc6125f8e2232c178f95fb944af2f
This commit is contained in:
commit
1997f2c6d8
12 changed files with 169 additions and 0 deletions
20
target/board/module_arm/BoardConfig.mk
Normal file
20
target/board/module_arm/BoardConfig.mk
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_ARCH := arm
|
||||
TARGET_ARCH_VARIANT := armv7-a-neon
|
||||
TARGET_CPU_VARIANT := generic
|
||||
TARGET_CPU_ABI := armeabi-v7a
|
||||
TARGET_CPU_ABI2 := armeabi
|
2
target/board/module_arm/README.md
Normal file
2
target/board/module_arm/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
This device is suitable for an unbundled module targeted specifically to an arm
|
||||
device.
|
18
target/board/module_arm/device.mk
Normal file
18
target/board/module_arm/device.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
$(call inherit-product, build/make/target/product/bootclasspath.mk)
|
||||
$(call inherit-product, build/make/target/product/languages_default.mk)
|
25
target/board/module_arm64/BoardConfig.mk
Normal file
25
target/board/module_arm64/BoardConfig.mk
Normal file
|
@ -0,0 +1,25 @@
|
|||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_ARCH := arm64
|
||||
TARGET_ARCH_VARIANT := armv8-a
|
||||
TARGET_CPU_VARIANT := generic
|
||||
TARGET_CPU_ABI := arm64-v8a
|
||||
|
||||
TARGET_2ND_ARCH := arm
|
||||
TARGET_2ND_ARCH_VARIANT := armv8-a
|
||||
TARGET_2ND_CPU_ABI := armeabi-v7a
|
||||
TARGET_2ND_CPU_ABI2 := armeabi
|
||||
TARGET_2ND_CPU_VARIANT := generic
|
3
target/board/module_arm64/README.md
Normal file
3
target/board/module_arm64/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
This device is suitable for an unbundled module targeted specifically to an
|
||||
arm64 device. 32 bit binaries built with this product will not be suitable for a
|
||||
32-bit arm device.
|
19
target/board/module_arm64/device.mk
Normal file
19
target/board/module_arm64/device.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
$(call inherit-product, build/make/target/product/bootclasspath.mk)
|
||||
$(call inherit-product, build/make/target/product/core_64_bit.mk)
|
||||
$(call inherit-product, build/make/target/product/languages_default.mk)
|
18
target/board/module_x86/BoardConfig.mk
Normal file
18
target/board/module_x86/BoardConfig.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_CPU_ABI := x86
|
||||
TARGET_ARCH := x86
|
||||
TARGET_ARCH_VARIANT := x86
|
2
target/board/module_x86/README.md
Normal file
2
target/board/module_x86/README.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
This device is suitable for an unbundled module targeted specifically to an
|
||||
x86 device.
|
18
target/board/module_x86/device.mk
Normal file
18
target/board/module_x86/device.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
$(call inherit-product, build/make/target/product/bootclasspath.mk)
|
||||
$(call inherit-product, build/make/target/product/languages_default.mk)
|
22
target/board/module_x86_64/BoardConfig.mk
Normal file
22
target/board/module_x86_64/BoardConfig.mk
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_CPU_ABI := x86_64
|
||||
TARGET_ARCH := x86_64
|
||||
TARGET_ARCH_VARIANT := x86_64
|
||||
|
||||
TARGET_2ND_CPU_ABI := x86
|
||||
TARGET_2ND_ARCH := x86
|
||||
TARGET_2ND_ARCH_VARIANT := x86_64
|
3
target/board/module_x86_64/README.md
Normal file
3
target/board/module_x86_64/README.md
Normal file
|
@ -0,0 +1,3 @@
|
|||
This device is suitable for an unbundled module targeted specifically to an
|
||||
x86_64 device. 32 bit binaries built with this product will not be suitable for
|
||||
a 32-bit x86 device.
|
19
target/board/module_x86_64/device.mk
Normal file
19
target/board/module_x86_64/device.mk
Normal file
|
@ -0,0 +1,19 @@
|
|||
#
|
||||
# Copyright (C) 2020 The Android Open Source Project
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
$(call inherit-product, build/make/target/product/bootclasspath.mk)
|
||||
$(call inherit-product, build/make/target/product/core_64_bit.mk)
|
||||
$(call inherit-product, build/make/target/product/languages_default.mk)
|
Loading…
Reference in a new issue