diff options
author | Jules Maselbas <jmaselbas@kalray.eu> | 2022-01-18 00:02:34 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-01-20 09:14:39 +0100 |
commit | cad82010e259d419c24679267c43990abd7b7482 (patch) | |
tree | a0fffb5a347dd4612380d2d888cadb1280e483d6 /lib/logo/Kconfig | |
parent | 8763acc2e80d073ede8ba1d9fb66ec3165d4f630 (diff) | |
download | barebox-cad82010e259d419c24679267c43990abd7b7482.tar.gz barebox-cad82010e259d419c24679267c43990abd7b7482.tar.xz |
logo: Enable image format selection for the logo
Enables the selection of an image format to be used for the built-in
barebox logo. The default image format is set to png, has it was the
only choice before. This also adds bmp as the other option.
Signed-off-by: Jules Maselbas <jmaselbas@kalray.eu>
Link: https://lore.barebox.org/20220117230235.13549-5-jmaselbas@kalray.eu
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'lib/logo/Kconfig')
-rw-r--r-- | lib/logo/Kconfig | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/lib/logo/Kconfig b/lib/logo/Kconfig index 56ec76afb6..64ba0e11e6 100644 --- a/lib/logo/Kconfig +++ b/lib/logo/Kconfig @@ -5,10 +5,28 @@ menuconfig BAREBOX_LOGO help 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>.png in the running barebox. + /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 + +endchoice + config BAREBOX_LOGO_64 bool "include 64x32 pixel logo" |