25 lines
594 B
Plaintext
25 lines
594 B
Plaintext
# Copyright (C) 2024 Digi International
|
|
|
|
FILESEXTRAPATHS:prepend := "${THISDIR}/${BPN}:"
|
|
|
|
# Backport from v2023.07
|
|
SRC_URI:append = " \
|
|
file://0001-tools-add-fdt_add_pubkey.patch \
|
|
file://0002-tools-avoid-implicit-fallthrough-in-fdt_add_pubkey.patch \
|
|
"
|
|
|
|
do_install:append () {
|
|
install -d ${D}${bindir}
|
|
|
|
# fdt_add_pubkey
|
|
if [ -f tools/fdt_add_pubkey ]; then
|
|
install -m 0755 tools/fdt_add_pubkey ${D}${bindir}/uboot-fdt_add_pubkey
|
|
ln -sf uboot-fdt_add_pubkey ${D}${bindir}/fdt_add_pubkey
|
|
fi
|
|
}
|
|
|
|
FILES:${PN}-mkimage += " \
|
|
${bindir}/uboot-fdt_add_pubkey \
|
|
${bindir}/fdt_add_pubkey \
|
|
"
|