Move building bootloader/radio image task to proper place
Move the task of building bootloader/radio images and unpack their partitions to build/core/tasks/tools. Bug: 359426542 Test: presubmit Change-Id: I3ac1a1a6eb0e21fb1eac6db628e094a13c9fc73f
This commit is contained in:
@@ -289,6 +289,9 @@ subdir_makefiles_total := $(words int $(subdir_makefiles) post finish)
|
||||
|
||||
$(foreach mk,$(subdir_makefiles),$(info [$(call inc_and_print,subdir_makefiles_inc)/$(subdir_makefiles_total)] including $(mk) ...)$(eval include $(mk)))
|
||||
|
||||
# Build bootloader.img/radio.img, and unpack the partitions.
|
||||
include $(BUILD_SYSTEM)/tasks/tools/update_bootloader_radio_image.mk
|
||||
|
||||
# For an unbundled image, we can skip blueprint_tools because unbundled image
|
||||
# aims to remove a large number framework projects from the manifest, the
|
||||
# sources or dependencies for these tools may be missing from the tree.
|
||||
|
17
core/tasks/tools/update_bootloader_radio_image.mk
Normal file
17
core/tasks/tools/update_bootloader_radio_image.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
# Copyright (C) 2024 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.
|
||||
|
||||
ifeq ($(USES_DEVICE_GOOGLE_ZUMA),true)
|
||||
-include vendor/google_devices/zuma/prebuilts/misc_bins/update_bootloader_radio_image.mk
|
||||
endif
|
Reference in New Issue
Block a user