Source: u-boot
Severity: wishlist
Tags: patch
Control: block -1 by 979326
Hello.
Once crust-firmware is available, the attached suggestion should be
sufficient to enable it in u-boot.
--- a/debian/control
+++ b/debian/control
@@ -7,6 +7,7 @@ Build-Depends:
arm-trusted-firmware (>= 2.4+dfsg) [arm64],
bc,
bison,
+ crust-firmware:all [arm64],
debhelper-compat (= 13),
device-tree-compiler,
flex,
--- a/debian/targets.mk
+++ b/debian/targets.mk
@@ -118,7 +118,8 @@ ifeq (${DEB_HOST_ARCH},arm64)
# u-boot-sunxi
- u-boot-sunxi_assigns := SCP=/dev/null
+ u-boot-sunxi_assigns = \
+ SCP=$(or $(wildcard /usr/lib/crust-firmware/$(platform).bin),/dev/null)
dpkg-gencontrol_args += "-Vu-boot-sunxi:Built-Using=$(shell dpkg-query -Wf \
'$${source:Package} (= $${source:Version})' arm-trusted-firmware)"