Merge "Add a product for building linux_bionic in --soong-only mode."
This commit is contained in:
commit
0f96329283
4 changed files with 49 additions and 0 deletions
24
target/board/linux_bionic/BoardConfig.mk
Normal file
24
target/board/linux_bionic/BoardConfig.mk
Normal file
|
@ -0,0 +1,24 @@
|
|||
# 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.
|
||||
#
|
||||
|
||||
# This "device" is only intended to be used for host Bionic build targets, so
|
||||
# (device) target architectures are irrelevant. However, the build system isn't
|
||||
# prepared to handle no target architectures at all, so pick something
|
||||
# arbitrarily.
|
||||
TARGET_ARCH_SUITE := ndk
|
||||
|
||||
HOST_CROSS_OS := linux_bionic
|
||||
HOST_CROSS_ARCH := x86_64
|
||||
HOST_CROSS_2ND_ARCH :=
|
6
target/board/linux_bionic/README.md
Normal file
6
target/board/linux_bionic/README.md
Normal file
|
@ -0,0 +1,6 @@
|
|||
This "device" is suitable for Soong-only builds to create Bionic binaries for
|
||||
Linux hosts:
|
||||
|
||||
```
|
||||
build/soong/soong_ui.bash --make-mode --soong-only TARGET_PRODUCT=linux_bionic ...
|
||||
```
|
|
@ -74,6 +74,7 @@ PRODUCT_MAKEFILES := \
|
|||
endif
|
||||
|
||||
PRODUCT_MAKEFILES += \
|
||||
$(LOCAL_DIR)/linux_bionic.mk \
|
||||
$(LOCAL_DIR)/mainline_sdk.mk \
|
||||
$(LOCAL_DIR)/module_arm.mk \
|
||||
$(LOCAL_DIR)/module_arm64.mk \
|
||||
|
|
18
target/product/linux_bionic.mk
Normal file
18
target/product/linux_bionic.mk
Normal file
|
@ -0,0 +1,18 @@
|
|||
# Copyright (C) 2022 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.
|
||||
#
|
||||
|
||||
PRODUCT_NAME := linux_bionic
|
||||
PRODUCT_BRAND := Android
|
||||
PRODUCT_DEVICE := linux_bionic
|
Loading…
Reference in a new issue