blob: e91978589e109ef29178ba1b0fb85caef213a21a [file] [log] [blame]
Christopher Collins92ea77f2016-12-12 15:59:26 -08001#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20pkg.name: boot/bootutil
21pkg.description: The bootutil library performs most of the functions of a boot loader.
Fabio Utzigd0116732017-07-21 12:26:13 -030022pkg.author: "Apache Mynewt <dev@mynewt.apache.org>"
Christopher Collins92ea77f2016-12-12 15:59:26 -080023pkg.homepage: "http://mynewt.apache.org/"
24pkg.keywords:
25 - boot
26 - bootloader
27
Fabio Utzigba1fbe62017-07-21 14:01:20 -030028pkg.apis:
29 - bootloader
30
31pkg.cflags:
Andy Gross441e9972019-10-21 11:09:28 -050032 - "-DMCUBOOT_MYNEWT=1"
Fabio Utzigba1fbe62017-07-21 14:01:20 -030033
Fabio Utzigad0e9b82019-02-18 16:13:01 -030034pkg.cflags.BOOTUTIL_USE_MBED_TLS:
35 - '-DMBEDTLS_USER_CONFIG_FILE="mbedtls/config_mynewt.h"'
36
Fabio Utzig32befd52017-06-12 10:08:43 -030037pkg.deps:
Fabio Utzigba1fbe62017-07-21 14:01:20 -030038 - "@mcuboot/boot/mynewt/mcuboot_config"
Christopher Collins39a5fa92016-12-12 17:50:46 -080039 - "@apache-mynewt-core/hw/hal"
Christopher Collins39a5fa92016-12-12 17:50:46 -080040 - "@apache-mynewt-core/kernel/os"
41 - "@apache-mynewt-core/sys/defs"
Andrzej Puzdrowskib788c712018-04-12 12:42:49 +020042 - "@mcuboot/boot/mynewt/flash_map_backend"
Marko Kiiskilabf943392016-12-29 17:29:48 -080043
Jerzy Kasenberged6460b2024-04-09 10:49:14 +020044pkg.ign_files.BOOTUTIL_SINGLE_APPLICATION_SLOT:
45 - "loader.c"
Jerzy Kasenberg29f95402024-04-23 11:24:31 +020046 - "swap_scratch.c"
Jerzy Kasenberged6460b2024-04-09 10:49:14 +020047
Fabio Utzigac18eec2017-12-11 08:08:44 -020048pkg.deps.BOOTUTIL_USE_MBED_TLS:
49 - "@apache-mynewt-core/crypto/mbedtls"
50
Fabio Utziga8e23e22017-09-11 18:05:45 -030051pkg.deps.BOOTUTIL_USE_TINYCRYPT:
Fabio Utzigac18eec2017-12-11 08:08:44 -020052 - "@mcuboot/ext/tinycrypt/lib"
David Brownb748f6f2019-10-11 10:07:31 -060053 - "@mcuboot/ext/mbedtls-asn1"
Fabio Utziga1e8e432019-05-22 10:38:10 -030054
55pkg.deps.BOOTUTIL_SIGN_ED25519:
Fabio Utzig34e93a52020-02-03 09:59:53 -030056 - "@mcuboot/ext/tinycrypt/lib"
57 - "@mcuboot/ext/tinycrypt-sha512/lib"
58 - "@mcuboot/ext/mbedtls-asn1"
Fabio Utziga1e8e432019-05-22 10:38:10 -030059 - "@mcuboot/ext/fiat"
Fabio Utzig92eb07f2020-04-07 07:58:04 -030060
61pkg.deps.BOOTUTIL_ENCRYPT_X25519:
62 - "@mcuboot/ext/tinycrypt/lib"
63 - "@mcuboot/ext/tinycrypt-sha512/lib"
64 - "@mcuboot/ext/mbedtls-asn1"
65 - "@mcuboot/ext/fiat"