- Timestamp:
- 11/09/2021 08:17:04 PM (3 years ago)
- Branches:
- ablfs-more, legacy, trunk
- Children:
- 60e539b
- Parents:
- f756851
- git-author:
- Pierre Labastie <pierre.labastie@…> (11/01/2021 08:13:25 AM)
- git-committer:
- Pierre Labastie <pierre.labastie@…> (11/09/2021 08:17:04 PM)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BLFS/xsl/gen_config.xsl
rf756851 r2b3edd2 11 11 <xsl:text>comment "" 12 12 13 menu " Default package for resolving MTA dependency"14 15 choice16 prompt "Mail server "13 menu "Build settings" 14 15 choice 16 prompt "Mail server for resolving the MTA dependency" 17 17 config MS_sendmail 18 18 bool "sendmail" … … 21 21 config MS_exim 22 22 bool "exim" 23 endchoice24 config MAIL_SERVER23 endchoice 24 config MAIL_SERVER 25 25 string 26 26 default "sendmail" if MS_sendmail … … 28 28 default "exim" if MS_exim 29 29 30 endmenu 31 32 choice 30 choice 33 31 prompt "Dependency level" 34 32 default DEPLVL_2 33 help 34 Packages included in the dependency graph. Note that the graph 35 itself contains all the dependency information relating those 36 packages. 35 37 36 38 config DEPLVL_1 … … 46 48 bool "All non external dependencies" 47 49 48 endchoice49 config optDependency50 endchoice 51 config optDependency 50 52 int 51 53 default 1 if DEPLVL_1 … … 54 56 default 4 if DEPLVL_4 55 57 56 config LANGUAGE58 config LANGUAGE 57 59 string "LANG variable in the form ll_CC.charmap[@modifiers]" 58 60 default "en_US.UTF-8" 59 61 help 60 62 Because of the book layout, the 3 fields, ll, CC and charmap are 61 mandatory. The @modfier is honoured if present. 62 63 config KBLAYOUT 64 string "Keyboard layout (to be used in GDM)" 65 default "us" 66 help 67 Used in GDM for setting the login screen keyboard layout. 68 See the GDM page in the book for what to put into this field 69 70 config SUDO 63 mandatory. The @modifier is honoured if present. 64 65 config SUDO 71 66 bool "Build as User" 72 67 default y 73 68 help 74 Select if sudo will be used (you build as a normal user) 75 otherwise sudo is not needed (you build as root) 76 77 78 config WRAP_INSTALL 69 Select if sudo will be used (you build as a normal user) 70 otherwise sudo is not needed (you build as root) 71 72 config WRAP_INSTALL 79 73 bool "Use `porg style' package management" 80 74 default n 81 75 help 82 Select if you want the installation commands to be wrapped 83 between "wrapInstall '" and "' ; packInstall" functions, 84 where wrapInstall is used to set up a LD_PRELOAD library (for 85 example using porg), and packInstall makes the package tarball 86 87 config DEL_LA_FILES 76 Select if you want the installation commands to be wrapped 77 between "wrapInstall '" and "' ; packInstall" functions, 78 where wrapInstall is used to set up a LD_PRELOAD library (for 79 example using porg), and packInstall makes the package tarball 80 81 config PACK_INSTALL 82 string "Location of the packInstall.sh script" 83 default "/blfs_root/packInstall.sh" if !SUDO 84 default "$HOME/blfs_root/packInstall.sh" if SUDO 85 depends on WRAP_INSTALL 86 help 87 This script is needed for the proper operation of the 88 `porg style' package management. Provide an absolute 89 path. 90 91 config DEL_LA_FILES 88 92 bool "Remove libtool .la files after package installation" 89 93 default y 90 94 help 91 92 93 94 config STATS95 This option should be active on any system mixing libtool 96 and meson build systems. ImageMagick .la files are preserved. 97 98 config STATS 95 99 bool "Generate statistics for the requested package(s)" 96 100 default n 97 101 help 98 If you want timing and memory footprint statistics to be 99 generated for the packages you build (not their dependencies), 100 set this option to y. 102 If you want timing and memory footprint statistics to be 103 generated for the packages you build (not their dependencies), 104 set this option to y. Due to the book layout, several scripts 105 are not functional in this case. Please review them. 106 107 endmenu 108 109 menu "Build Layout" 110 config SRC_ARCHIVE 111 string "Directory of sources" 112 default "/sources" 113 config SRC_SUBDIRS 114 bool "Downloads sources to subdirectories" 115 default n 116 help 117 If this option is set, the sources will be downloaded and archived 118 into a subdirectory of the source directory, one for each page 119 of the book. Otherwise they are downloaded and archived directly 120 into the source directory 121 config BUILD_ROOT 122 string "Build directory" 123 default "/sources" 124 help 125 Directory where the build occurs. It can be the same as the 126 source directory, provided the setting of subdirectories is 127 different 128 config BUILD_SUBDIRS 129 bool "Build into subdirectories" 130 default y 131 help 132 If this option is set, the sources will be extracted into 133 subdirectories of the build directory. Otherwise, they will be 134 directly extracted into the build directory 135 config KEEP_FILES 136 bool "Keep source directory" 137 default n 138 help 139 Set this option if you want to keep the build directories 140 for further examination after installing the package 141 endmenu 142 143 menu "Optimization" 144 config JOBS 145 int "Number of parallel jobs" 146 default 0 147 help 148 This number will get passed to make or ninja, unless set 149 to 0, in which case, it is set to the number of processors 150 on line. Note that some packages do not respect this setting. 151 Also, "-j1" is always passed to make for install (and nothing 152 to ninja). 153 config CFG_CFLAGS 154 string "Content of variable CFLAGS" 155 default "EMPTY" 156 help 157 If set to the special string "EMPTY", then CFLAGS will be 158 unset before starting the script. Otherwise, there is no 159 content check for this variable. Double check for typos! 160 config CFG_CXXFLAGS 161 string "Content of variable CXXFLAGS" 162 default "EMPTY" 163 help 164 If set to the special string "EMPTY", then CXXFLAGS will be 165 unset before starting the script. Otherwise, there is no 166 content check for this variable. Double check for typos! 167 config CFG_LDFLAGS 168 string "Content of variable LDFLAGS" 169 default "EMPTY" 170 help 171 If set to the special string "EMPTY", then LDFLAGS will be 172 unset before starting the script. Otherwise, there is no 173 content check for this variable. Double check for typos! 174 endmenu 101 175 </xsl:text> 102 176 </xsl:template> … … 107 181 [(version and not(inst-version)) or 108 182 string(version) != string(inst-version)]"> 109 <xsl:text> config	MENU_</xsl:text>183 <xsl:text>menuconfig	MENU_</xsl:text> 110 184 <xsl:value-of select="@id"/> 111 185 <xsl:text> … … 115 189 default	n 116 190 117 menu "</xsl:text> 118 <xsl:value-of select="name"/> 119 <xsl:text>" 120 depends on MENU_</xsl:text> 191 if	MENU_</xsl:text> 121 192 <xsl:value-of select="@id"/> 122 193 <xsl:text> … … 124 195 </xsl:text> 125 196 <xsl:apply-templates select="sublist"/> 126 <xsl:text>end menu197 <xsl:text>endif 127 198 128 199 </xsl:text> … … 135 206 [(version and not(inst-version)) or 136 207 string(version) != string(inst-version)]"> 137 <xsl:text>	 config	MENU_</xsl:text>208 <xsl:text>	menuconfig	MENU_</xsl:text> 138 209 <xsl:value-of select="@id"/> 139 210 <xsl:text> … … 143 214 	default	n 144 215 145 	menu "</xsl:text> 146 <xsl:value-of select="name"/> 147 <xsl:text>" 148 	depends on MENU_</xsl:text> 216 	if	MENU_</xsl:text> 149 217 <xsl:value-of select="@id"/> 150 218 <xsl:text> … … 152 220 </xsl:text> 153 221 <xsl:apply-templates select="package"/> 154 <xsl:text>	end menu222 <xsl:text>	endif 155 223 156 224 </xsl:text> … … 182 250 test="not(version) and ./module[not(inst-version) or 183 251 string(version) != string(inst-version)]"> 184 <xsl:text>		 config	MENU_</xsl:text>252 <xsl:text>		menuconfig	MENU_</xsl:text> 185 253 <xsl:value-of select="translate(name,' ()','___')"/> 186 254 <xsl:text> … … 190 258 		default	n 191 259 192 		menu "</xsl:text> 193 <xsl:value-of select="name"/> 194 <xsl:text>" 195 		depends on MENU_</xsl:text> 260 		if	MENU_</xsl:text> 196 261 <xsl:value-of select="translate(name,' ()','___')"/> 197 262 <xsl:text> … … 199 264 </xsl:text> 200 265 <xsl:apply-templates select="module"/> 201 <xsl:text>		end menu266 <xsl:text>		endif 202 267 203 268 </xsl:text>
Note:
See TracChangeset
for help on using the changeset viewer.