blob: 531d6a2689f4e323263656b2e7fd9e0bf27a55a3 [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
Fabio Utzigac18eec2017-12-11 08:08:44 -020044pkg.deps.BOOTUTIL_USE_MBED_TLS:
45 - "@apache-mynewt-core/crypto/mbedtls"
46
Fabio Utziga8e23e22017-09-11 18:05:45 -030047pkg.deps.BOOTUTIL_USE_TINYCRYPT:
Fabio Utzigac18eec2017-12-11 08:08:44 -020048 - "@mcuboot/ext/tinycrypt/lib"
David Brownb748f6f2019-10-11 10:07:31 -060049 - "@mcuboot/ext/mbedtls-asn1"
Fabio Utziga1e8e432019-05-22 10:38:10 -030050
51pkg.deps.BOOTUTIL_SIGN_ED25519:
Fabio Utzig34e93a52020-02-03 09:59:53 -030052 - "@mcuboot/ext/tinycrypt/lib"
53 - "@mcuboot/ext/tinycrypt-sha512/lib"
54 - "@mcuboot/ext/mbedtls-asn1"
Fabio Utziga1e8e432019-05-22 10:38:10 -030055 - "@mcuboot/ext/fiat"
Fabio Utzig92eb07f2020-04-07 07:58:04 -030056
57pkg.deps.BOOTUTIL_ENCRYPT_X25519:
58 - "@mcuboot/ext/tinycrypt/lib"
59 - "@mcuboot/ext/tinycrypt-sha512/lib"
60 - "@mcuboot/ext/mbedtls-asn1"
61 - "@mcuboot/ext/fiat"