summaryrefslogtreecommitdiffstats
path: root/lib/logo/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'lib/logo/Kconfig')
-rw-r--r--lib/logo/Kconfig34
1 files changed, 31 insertions, 3 deletions
diff --git a/lib/logo/Kconfig b/lib/logo/Kconfig
index 0718053e5c..7e5a6fcb63 100644
--- a/lib/logo/Kconfig
+++ b/lib/logo/Kconfig
@@ -1,12 +1,40 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
menuconfig BAREBOX_LOGO
bool "include barebox logos in build"
+ depends on IMAGE_RENDERER
help
- Say yes here to build the barebox logos. This adds inkscape to the build
- dependencies. The logo can be found under /logo/barebox-logo-<width>.png
- in the running barebox.
+ Say yes here to build the barebox logos. This adds ImageMagick's
+ convert tool to the build dependencies. The logo can be found under
+ /logo/barebox-logo-<width>.<ext> in the running barebox.
if BAREBOX_LOGO
+choice
+ prompt "Logo image encoding format to be used"
+ default BAREBOX_LOGO_PNG
+
+config BAREBOX_LOGO_PNG
+ bool "png"
+ select PNG
+ help
+ Encode logo with the PNG image format
+
+config BAREBOX_LOGO_BMP
+ bool "bmp"
+ select BMP
+ help
+ Encode logo with the BMP image format
+
+config BAREBOX_LOGO_QOI
+ bool "qoi"
+ select QOI
+ select QOICONV
+ help
+ Encode logo with the QOI image format
+
+endchoice
+
config BAREBOX_LOGO_64
bool "include 64x32 pixel logo"