summaryrefslogtreecommitdiffstats
path: root/lib/logo/Kconfig
blob: 7e5a6fcb63faa8c886d2373f183e956dae6dab7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# 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 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"

config BAREBOX_LOGO_240
	bool "include 240x120 pixel logo"

config BAREBOX_LOGO_320
	bool "include 320x160 pixel logo"

config BAREBOX_LOGO_400
	bool "include 400x200 pixel logo"

config BAREBOX_LOGO_640
	bool "include 640x320 pixel logo"

endif # BAREBOX_LOGO