summaryrefslogtreecommitdiff
path: root/dev-embedded/u-boot-tools/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-19 11:39:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-19 11:39:43 +0000
commitfac3cfaabc3c46bf5cb7a2492197925c7c557b42 (patch)
tree2f349d3ce8993d9ac6d35958db8b9d82b8fe40cc /dev-embedded/u-boot-tools/files
parentb24782302154e447b59c3f719970f951cd15cd38 (diff)
gentoo auto-resync : 19:02:2024 - 11:39:43
Diffstat (limited to 'dev-embedded/u-boot-tools/files')
-rw-r--r--dev-embedded/u-boot-tools/files/disable-unused-mkeficapsule.patch14
-rw-r--r--dev-embedded/u-boot-tools/files/disable-unused-pylibfdt.patch17
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-embedded/u-boot-tools/files/disable-unused-mkeficapsule.patch b/dev-embedded/u-boot-tools/files/disable-unused-mkeficapsule.patch
new file mode 100644
index 000000000000..90c8ce3f0a4d
--- /dev/null
+++ b/dev-embedded/u-boot-tools/files/disable-unused-mkeficapsule.patch
@@ -0,0 +1,14 @@
+Disable unused mkeficapsule
+
+`CONFIG_TOOLS_MKEFICAPSULE` requires gnutls to build. Since we don't actually
+expose the tool, we can just disable it.
+
+diff -ur a/configs/tools-only_defconfig b/configs/tools-only_defconfig
+--- a/configs/tools-only_defconfig 2023-01-09 09:07:33.000000000 -0700
++++ b/configs/tools-only_defconfig 2023-08-11 14:01:50.151294889 -0600
+@@ -33,4 +33,4 @@
+ # CONFIG_VIRTIO_SANDBOX is not set
+ # CONFIG_GENERATE_ACPI_TABLE is not set
+ # CONFIG_EFI_LOADER is not set
+-CONFIG_TOOLS_MKEFICAPSULE=y
++# CONFIG_TOOLS_MKEFICAPSULE is not set
diff --git a/dev-embedded/u-boot-tools/files/disable-unused-pylibfdt.patch b/dev-embedded/u-boot-tools/files/disable-unused-pylibfdt.patch
new file mode 100644
index 000000000000..8686341a8776
--- /dev/null
+++ b/dev-embedded/u-boot-tools/files/disable-unused-pylibfdt.patch
@@ -0,0 +1,17 @@
+Disable unused pylibfdt
+
+The `imply BINMAN` causes `pylibfdt` to be built, which requires python. We
+don't currently expose `pylibfdt`, or declare python dependencies, so disable
+it.
+
+diff -ur a/arch/Kconfig b/arch/Kconfig
+--- a/arch/Kconfig 2023-01-09 09:07:33.000000000 -0700
++++ b/arch/Kconfig 2023-08-11 14:01:05.998403114 -0600
+@@ -205,7 +205,6 @@
+ imply KEYBOARD
+ imply PHYSMEM
+ imply GENERATE_ACPI_TABLE
+- imply BINMAN
+
+ config SH
+ bool "SuperH architecture"