]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUILD: makefile: move common options-oriented macros to include/make/options.mk
authorWilly Tarreau <w@1wt.eu>
Thu, 22 Dec 2022 18:32:24 +0000 (19:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 23 Dec 2022 15:53:35 +0000 (16:53 +0100)
commit69e7b7f67707690b8891076c2eb2cf5c0f1829e3
treedaa5ab37c5011cc64049629f3886bc695b7217cf
parent39d6c348370a8d801b918263a551e300696dd64b
BUILD: makefile: move common options-oriented macros to include/make/options.mk

Some macros and functions are barely understandable and are only used
to iterate over known options from the use_opts list. Better assign
them a name and move them into a dedicated file to clean the makefile
a little bit. Now at least "use_opts" only appears once, where it is
defined. This also allowed to completely remove the BUILD_FEATURES
macro that caused some confusion until previous commit.
Makefile
include/make/options.mk [new file with mode: 0644]