aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils
diff options
context:
space:
mode:
authorKonstantin Demin <rockdrilla@gmail.com>2020-11-25 06:12:41 +0300
committerPetr Štetiar <ynezz@true.cz>2020-12-11 13:48:24 +0100
commite1bd9645b6aee8fc2ae3b56fb2c4332c4d792b89 (patch)
treebf03d55636e264d4bd340fd2558e15b3d9a4899a /package/libs/elfutils
parent79d5c2472482e7c1564104e5e3db26e97bdfd84f (diff)
downloadupstream-e1bd9645b6aee8fc2ae3b56fb2c4332c4d792b89.tar.gz
upstream-e1bd9645b6aee8fc2ae3b56fb2c4332c4d792b89.tar.bz2
upstream-e1bd9645b6aee8fc2ae3b56fb2c4332c4d792b89.zip
dropbear: roll up recipes into mapping lists
this commit removes manual recipes for options and introduces mapping lists: - DB_OPT_COMMON holds option mappings which are common for all builds; - DB_OPT_CONFIG holds option mappings which are depend on config settings. DB_OPT_COMMON is space-separated list of 'words', each of them is in format: 'header_option|value' 'header_option' is added with value 'value' to 'localoptions.h'. if 'header_option' is preceded by two exclamation marks ('!!') then option is not added to 'localoptions.h' but replaced in 'sysoptions.h'. in short: option|value - add option to localoptions.h !!option|value - replace option in sysoptions.h DB_OPT_CONFIG is space-separated list of 'words', each of them is in format: 'header_option|config_variable|value_enabled|value_disabled' 'header_option' is handled likewise in DB_OPT_COMMON. if 'config_variable' is enabled (technically: not disabled) then 'header_option' is set to 'value_enabled' and 'value_disabled' otherwise. in short: option|config|enabled|disabled = add option to localoptions.h !!option|config|enabled|disabled = replace option in sysoptions.h option := (config) ? enabled : disabled If you're not sure that option's value doesn't have '|' within - add your recipe manually right after '$(Build/Configure/dropbear_headers)' and write some words about your decision. PS about two exclamation marks: early idea was to use one exclamation mark to denote such header options but then i thought single exclamation mark may be overlooked by mistake. Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
Diffstat (limited to 'package/libs/elfutils')
0 files changed, 0 insertions, 0 deletions