File: Kconfig

package info (click to toggle)
swupdate 2025.12%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 10,004 kB
  • sloc: ansic: 66,621; python: 6,291; makefile: 791; sh: 538; javascript: 229
file content (59 lines) | stat: -rw-r--r-- 1,403 bytes parent folder | download | duplicates (3)
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
54
55
56
57
58
59
# SPDX-FileCopyrightText: 2013 Stefano Babic <stefano.babic@swupdate.org>
#
# SPDX-License-Identifier: GPL-2.0-only

menu "Parser Features"

config LIBCONFIG
	bool "libconfig"
	default y
	help
	  Use libconfig to parse the configuration file.
	  This is the default parser.

config PARSERROOT
	string "Name of root node"
	help
	  For compatibility reasons, the root node
	  can be set to something else as "software".
	  In most case you do not need to set it.

config LUAEXTERNAL
	bool "lua"
	depends on LUA
	default n
	help
	  call an external parser written in Lua.

config SETEXTPARSERNAME
	bool "Set external parser name"
	depends on LUAEXTERNAL
	default n
	help
	  Set to define own path and filename for the
	  external parser, else default lua-tools/extparser.lua
	  will be used.

config EXTPARSERNAME
	string "External parser file name"
	depends on SETEXTPARSERNAME
	help
	  Lua script to be executed for parsing
	  the sw-description file.

config SETSWDESCRIPTION
	bool "set file description name"
	default n
	help
	  Set it if you want to change the name of
	  the default software descritpion file.
	  If not set, default file name is "sw-description"

config SWDESCRIPTION
	string "description file"
	depends on SETSWDESCRIPTION
	help
	   File extracted from the image containing
	   the description (meta) of the images.
	   This file, after extraction, is passed to the parser.
endmenu