1# 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. 22pkg.author: "Apache Mynewt <dev@mynewt.apache.org>" 23pkg.homepage: "http://mynewt.apache.org/" 24pkg.keywords: 25 - boot 26 - bootloader 27 28pkg.apis: 29 - bootloader 30 31pkg.cflags: 32 - "-DMCUBOOT_MYNEWT=1" 33 34pkg.cflags.BOOTUTIL_USE_MBED_TLS: 35 - '-DMBEDTLS_USER_CONFIG_FILE="mbedtls/config_mynewt.h"' 36 37pkg.deps: 38 - "@mcuboot/boot/mynewt/mcuboot_config" 39 - "@apache-mynewt-core/hw/hal" 40 - "@apache-mynewt-core/kernel/os" 41 - "@apache-mynewt-core/sys/defs" 42 - "@mcuboot/boot/mynewt/flash_map_backend" 43 44pkg.deps.BOOTUTIL_USE_MBED_TLS: 45 - "@apache-mynewt-core/crypto/mbedtls" 46 47pkg.deps.BOOTUTIL_USE_TINYCRYPT: 48 - "@mcuboot/ext/tinycrypt/lib" 49 - "@mcuboot/ext/mbedtls-asn1" 50 51pkg.deps.BOOTUTIL_SIGN_ED25519: 52 - "@mcuboot/ext/tinycrypt/lib" 53 - "@mcuboot/ext/tinycrypt-sha512/lib" 54 - "@mcuboot/ext/mbedtls-asn1" 55 - "@mcuboot/ext/fiat" 56 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" 62