Bypass the following build error:
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_install
dh_installdocs
dh_installchangelogs
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_missing
dh_dwz
dwz: Too few files for multifile optimization
arm-linux-gnueabihf-objcopy: 'debian/u-boot-tools/usr/lib/debug/.dwz/arm-linux-gnueabihf/u-boot-tools.debug': No such file
dh_dwz: arm-linux-gnueabihf-objcopy --compress-debug-sections debian/u-boot-tools/usr/lib/debug/.dwz/arm-linux-gnueabihf/u-boot-tools.debug returned exit code 1
make: *** [debian/rules:34: binary] Error 2
Simply ignore missing debug symbols file.
---
.../recipes-bsp/u-boot/
u-boot-de0-nano-soc_2020.10.bb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/meta-isar/recipes-bsp/u-boot/
u-boot-de0-nano-soc_2020.10.bb b/meta-isar/recipes-bsp/u-boot/
u-boot-de0-nano-soc_2020.10.bb
index feecd96d..bc84bc8c 100644
--- a/meta-isar/recipes-bsp/u-boot/
u-boot-de0-nano-soc_2020.10.bb
+++ b/meta-isar/recipes-bsp/u-boot/
u-boot-de0-nano-soc_2020.10.bb
@@ -9,3 +9,11 @@ require u-boot-${PV}.inc
U_BOOT_TOOLS_PACKAGE = "1"
COMPATIBLE_MACHINE = "^(de0-nano-soc)$"
+
+do_prepare_build:buster:append() {
+ echo =-=-=
+cat << _EOF_ >> ${S}/debian/rules
+override_dh_dwz:
+ dh_dwz || :
+_EOF_
+}
--
2.52.0