This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Support dl-tunables.list in subdirectories
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 24 May 2017 12:41:09 -0700
- Subject: [PATCH] Support dl-tunables.list in subdirectories
- Authentication-results: sourceware.org; auth=none
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
We can put processor specific tunables in dl-tunables.list under
sysdeps instead of in elf/dl-tunables.list.
Any comments?
H.J.
---
* Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
dl-tunables.list in subdirectories.
---
Makeconfig | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Makeconfig b/Makeconfig
index b494b82..e4eda4b 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -1127,7 +1127,9 @@ ifneq (no,$(have-tunables))
before-compile += $(common-objpfx)dl-tunable-list.h
$(common-objpfx)dl-tunable-list.h: $(..)scripts/gen-tunables.awk \
- $(..)elf/dl-tunables.list
+ $(..)elf/dl-tunables.list \
+ $(wildcard $(subdirs:%=$(..)%/dl-tunables.list)) \
+ $(wildcard $(sysdirs:%=%/dl-tunables.list))
$(AWK) -f $^ > $@.tmp
mv $@.tmp $@
endif
--
2.9.4