third_party.pigweed.src/pw_boot/backend.gni
Scott James Remnant fa7f123ed9 pw_boot: Create pw_boot facade
Move the header file out of pw_boot_armv7m to serve as a public API
for the facade, making pw_boot_armv7m the implementation.

This allows targets to provide an alternate implementation of
pw_boot_Entry.

This is not possible today due to the implementation dependency in
pw_malloc_freelist which, with this change, is moved to the facade
instead.

Update includes in existing targets to use the new path and dependency,
they were already setting pw_boot_BACKEND.

Change-Id: I88f921df0efea58536349e04fe09d1b580a7e733
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/54022
Pigweed-Auto-Submit: Scott James Remnant <keybuk@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Commit-Queue: Scott James Remnant <keybuk@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
2021-07-23 01:26:58 +00:00

19 lines
663 B
Plaintext

# Copyright 2021 The Pigweed Authors
#
# 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
#
# https://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.
declare_args() {
# Backend for the pw_boot module.
pw_boot_BACKEND = ""
}