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
|
# Setup file for subdirectory Makefiles that define EGLIBC option groups.
# EGLIBC shouldn't need to override this. However, the
# cross-build-friendly localedef includes this makefile to get option
# group variable definitions; it uses a single build tree for all the
# multilibs, and needs to be able to specify a different option group
# configuration file for each multilib.
option_group_config_file ?= $(objdir)/option-groups.config
# Read the default settings for all options.
# We're included before ../Rules, so we can't assume $(..) is set.
include $(firstword $(..) ../)option-groups.defaults
# Read the developer's option group selections, overriding the
# defaults from option-groups.defaults.
-include $(option_group_config_file)
# $(call option-disabled, VAR) is 'y' if VAR is not 'y', or 'n' otherwise.
# VAR should be a variable name, not a variable reference; this is
# less general, but more terse for the intended use.
# You can use it to add a file to a list if an option group is
# disabled, like this:
# routines-$(call option-disabled, OPTION_POSIX_C_LANG_WIDE_CHAR) += ...
define option-disabled
$(firstword $(subst y,n,$(filter y,$($(strip $(1))))) y)
endef
# Establish 'routines-y', etc. as simply-expanded variables.
aux-y :=
extra-libs-others-y :=
extra-libs-y :=
extra-objs-y :=
install-bin-y :=
install-others-y :=
install-sbin-y :=
others-y :=
others-pie-y :=
routines-y :=
test-srcs-y :=
tests-y :=
xtests-y :=
|