summaryrefslogtreecommitdiffstats
path: root/meson_options.txt
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2024-07-10 10:46:39 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2024-09-10 21:47:00 +0200
commit41a9a502a1607f5b68f4f87f08807884e824fc1a (patch)
tree8c976c7db78ad5756bb36d60fb72eda832e67ff3 /meson_options.txt
parentdoc-sync: strip point release from version before uploading (diff)
downloadsystemd-41a9a502a1607f5b68f4f87f08807884e824fc1a.tar.xz
systemd-41a9a502a1607f5b68f4f87f08807884e824fc1a.zip
meson: increase default number of available sections for the stub
Now that we have multi-profile UKIs people likely want to stick more PE sections into them than before. Hence, bump the number of available PE section slots to 30 (up from 15). Also, make this configurable at build time since some folks probably want even more, and others don't want this at all. (pre-allocating too many shouldn't matter too much btw, I'd advise everyone to overshoot, except maybe on the tiniest of embedded boards)
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index e90debdd3e..46e3ac55f7 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -486,6 +486,10 @@ option('efi-color-highlight', type : 'string', value : 'black,lightgray',
description : 'boot loader color for selected entries')
option('efi-color-edit', type : 'string', value : 'black,lightgray',
description : 'boot loader color for option line edit')
+option('efi-stub-extra-sections', type : 'integer', value : 30,
+ description : 'minimum number of sections to keep free in stub PE header')
+option('efi-addon-extra-sections', type : 'integer', value : 15,
+ description : 'minimum number of sections to keep free in addon PE header')
option('bashcompletiondir', type : 'string',
description : 'directory for bash completion scripts ["no" disables]')