diff options
author | Patrice Arruda <patricearruda@google.com> | 2019-05-20 09:03:14 -0700 |
---|---|---|
committer | Patrice Arruda <patricearruda@google.com> | 2019-05-20 09:03:14 -0700 |
commit | a3b109996f71b52b58a51a969529d8ac7be3218c (patch) | |
tree | 9309535d4298b207c595c86327be47f623226beb /x86 | |
parent | 96ca096489517bbdc4f55962f35fb3360b331532 (diff) | |
download | qemu-kernel-a3b109996f71b52b58a51a969529d8ac7be3218c.tar.gz |
Convert Android.mk to Android.bp.
See build/soong/README.md for more information.
Fixes: b/122332338
Test: Built and checked that bios.bin and vgabios-cirrus.bin were
installed in $(HOST_OUT)/usr/share/pc-bios directory.
Change-Id: I27605a4f2eb39841a2afdbada9de7cac7bb30df9
Diffstat (limited to 'x86')
-rw-r--r-- | x86/pc-bios/Android.bp | 26 | ||||
-rw-r--r-- | x86/pc-bios/Android.mk | 35 |
2 files changed, 26 insertions, 35 deletions
diff --git a/x86/pc-bios/Android.bp b/x86/pc-bios/Android.bp new file mode 100644 index 0000000..02b6f14 --- /dev/null +++ b/x86/pc-bios/Android.bp @@ -0,0 +1,26 @@ +// +// Copyright (C) 2011 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. + +prebuilt_usr_share_host { + name: "bios.bin", + src: "bios.bin", + sub_dir: "pc-bios", +} + +prebuilt_usr_share_host { + name: "vgabios-cirrus.bin", + src: "vgabios-cirrus.bin", + sub_dir: "pc-bios", +} diff --git a/x86/pc-bios/Android.mk b/x86/pc-bios/Android.mk deleted file mode 100644 index 9c99865..0000000 --- a/x86/pc-bios/Android.mk +++ /dev/null @@ -1,35 +0,0 @@ -# -# Copyright (C) 2011 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. -# -LOCAL_PATH := $(my-dir) - -include $(CLEAR_VARS) -LOCAL_MODULE := bios.bin -LOCAL_SRC_FILES := $(LOCAL_MODULE) -LOCAL_IS_HOST_MODULE := true -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share/pc-bios -include $(BUILD_PREBUILT) - -include $(CLEAR_VARS) -LOCAL_MODULE := vgabios-cirrus.bin -LOCAL_SRC_FILES := $(LOCAL_MODULE) -LOCAL_IS_HOST_MODULE := true -LOCAL_MODULE_TAGS := optional -LOCAL_MODULE_CLASS := EXECUTABLES -LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share/pc-bios -include $(BUILD_PREBUILT) - |