2016-12-13 07:59:26 +08:00
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one
|
|
|
|
# or more contributor license agreements. See the NOTICE file
|
|
|
|
# distributed with this work for additional information
|
|
|
|
# regarding copyright ownership. The ASF licenses this file
|
|
|
|
# to you 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.
|
|
|
|
#
|
|
|
|
|
|
|
|
pkg.name: boot/bootutil
|
|
|
|
pkg.description: The bootutil library performs most of the functions of a boot loader.
|
2017-07-21 23:26:13 +08:00
|
|
|
pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
|
2016-12-13 07:59:26 +08:00
|
|
|
pkg.homepage: "http://mynewt.apache.org/"
|
|
|
|
pkg.keywords:
|
|
|
|
- boot
|
|
|
|
- bootloader
|
|
|
|
|
2017-07-22 01:01:20 +08:00
|
|
|
pkg.apis:
|
|
|
|
- bootloader
|
|
|
|
|
|
|
|
pkg.cflags:
|
2019-10-22 00:09:28 +08:00
|
|
|
- "-DMCUBOOT_MYNEWT=1"
|
2017-07-22 01:01:20 +08:00
|
|
|
|
2019-02-19 03:13:01 +08:00
|
|
|
pkg.cflags.BOOTUTIL_USE_MBED_TLS:
|
|
|
|
- '-DMBEDTLS_USER_CONFIG_FILE="mbedtls/config_mynewt.h"'
|
|
|
|
|
2017-06-12 21:08:43 +08:00
|
|
|
pkg.deps:
|
2017-07-22 01:01:20 +08:00
|
|
|
- "@mcuboot/boot/mynewt/mcuboot_config"
|
2016-12-13 09:50:46 +08:00
|
|
|
- "@apache-mynewt-core/hw/hal"
|
|
|
|
- "@apache-mynewt-core/kernel/os"
|
|
|
|
- "@apache-mynewt-core/sys/defs"
|
2018-04-12 18:42:49 +08:00
|
|
|
- "@mcuboot/boot/mynewt/flash_map_backend"
|
2016-12-30 09:29:48 +08:00
|
|
|
|
2024-04-09 16:49:14 +08:00
|
|
|
pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
|
|
|
|
- "loader.c"
|
2024-04-23 17:24:31 +08:00
|
|
|
- "swap_scratch.c"
|
2024-04-09 16:49:14 +08:00
|
|
|
|
2017-12-11 18:08:44 +08:00
|
|
|
pkg.deps.BOOTUTIL_USE_MBED_TLS:
|
|
|
|
- "@apache-mynewt-core/crypto/mbedtls"
|
|
|
|
|
2017-09-12 05:05:45 +08:00
|
|
|
pkg.deps.BOOTUTIL_USE_TINYCRYPT:
|
2017-12-11 18:08:44 +08:00
|
|
|
- "@mcuboot/ext/tinycrypt/lib"
|
2019-10-12 00:07:31 +08:00
|
|
|
- "@mcuboot/ext/mbedtls-asn1"
|
2019-05-22 21:38:10 +08:00
|
|
|
|
|
|
|
pkg.deps.BOOTUTIL_SIGN_ED25519:
|
2020-02-03 20:59:53 +08:00
|
|
|
- "@mcuboot/ext/tinycrypt/lib"
|
|
|
|
- "@mcuboot/ext/tinycrypt-sha512/lib"
|
|
|
|
- "@mcuboot/ext/mbedtls-asn1"
|
2019-05-22 21:38:10 +08:00
|
|
|
- "@mcuboot/ext/fiat"
|
2020-04-07 18:58:04 +08:00
|
|
|
|
|
|
|
pkg.deps.BOOTUTIL_ENCRYPT_X25519:
|
|
|
|
- "@mcuboot/ext/tinycrypt/lib"
|
|
|
|
- "@mcuboot/ext/tinycrypt-sha512/lib"
|
|
|
|
- "@mcuboot/ext/mbedtls-asn1"
|
|
|
|
- "@mcuboot/ext/fiat"
|