diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-05-25 05:41:05 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-05-25 05:41:18 -0700 |
commit | ee8015b9ea084d5727ce477fdd8d935f1de7f7f6 (patch) | |
tree | dfe87052cf52c67cafcb26295bdaf4750e4e798d /Makeconfig | |
parent | 302bb1a3c327d546b19447d7304bb2b27e9a34de (diff) | |
download | glibc-ee8015b9ea084d5727ce477fdd8d935f1de7f7f6.tar glibc-ee8015b9ea084d5727ce477fdd8d935f1de7f7f6.tar.gz glibc-ee8015b9ea084d5727ce477fdd8d935f1de7f7f6.tar.bz2 glibc-ee8015b9ea084d5727ce477fdd8d935f1de7f7f6.zip |
Support dl-tunables.list in subdirectories
We can put processor specific tunables in dl-tunables.list under
sysdeps instead of in elf/dl-tunables.list.
* Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
dl-tunables.list in subdirectories.
Diffstat (limited to 'Makeconfig')
-rw-r--r-- | Makeconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makeconfig b/Makeconfig index b494b82b40..e4eda4bcdf 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 |