Fix building utils

This commit is contained in:
Peter Robinson 2022-11-24 14:02:10 +00:00
parent 56a26f9cc4
commit a56399745c
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 11ff7f20123629bb4271db41a170e9ad69126dc2 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson@gmail.com>
Date: Thu, 24 Nov 2022 13:39:05 +0000
Subject: [PATCH] add VIDEO_LOGO to tools-only to build bmp_logo
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
configs/tools-only_defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/configs/tools-only_defconfig b/configs/tools-only_defconfig
index 86464d2f075..c3b3b387818 100644
--- a/configs/tools-only_defconfig
+++ b/configs/tools-only_defconfig
@@ -27,6 +27,7 @@ CONFIG_DM_RTC=y
CONFIG_SOUND=y
CONFIG_SYSRESET=y
CONFIG_TIMER=y
+CONFIG_VIDEO=y
# CONFIG_VIRTIO_MMIO is not set
# CONFIG_VIRTIO_PCI is not set
# CONFIG_VIRTIO_SANDBOX is not set
--
2.38.1

View File

@ -30,6 +30,7 @@ Patch6: rpi-Copy-properties-from-firmware-DT-to-loaded-DT.patch
# Rockchips improvements
Patch7: rockchip-Add-initial-support-for-the-PinePhone-Pro.patch
Patch8: 0001-Revert-power-pmic-rk8xx-Support-sysreset-shutdown-me.patch
Patch9: 0001-add-VIDEO_LOGO-to-tools-only-to-build-bmp_logo.patch
BuildRequires: bc
BuildRequires: bison
@ -180,7 +181,7 @@ done
%endif
%endif
for tool in bmp_logo dumpimage env/fw_printenv fit_check_sign fit_info gdb/gdbcont gdb/gdbsend gen_eth_addr gen_ethaddr_crc img2srec mkenvimage mkimage mksunxiboot ncb proftool sunxi-spl-image-builder ubsha1 xway-swap-bytes kwboot
for tool in bmp_logo dumpimage env/fw_printenv fit_check_sign fit_info gdb/gdbcont gdb/gdbsend gen_eth_addr gen_ethaddr_crc ifwitool img2srec kwboot mkeficapsule mkenvimage mkimage mksunxiboot ncb proftool sunxi-spl-image-builder ubsha1 xway-swap-bytes
do
install -p -m 0755 builds/tools/$tool %{buildroot}%{_bindir}
done