]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Support dl-tunables.list in subdirectories
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 25 May 2017 12:41:05 +0000 (05:41 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 25 May 2017 12:41:18 +0000 (05:41 -0700)
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.

ChangeLog
Makeconfig

index c085c9b637085707c6d85806a707d2f3f9f93328..b0c2047b80ed01954a0640e91cab201a20eacc13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
+       dl-tunables.list in subdirectories.
+
 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
            Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
            Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
index b494b82b40f642409b2d5ac0b8489bc20a8b3089..e4eda4bcdf9f0230549235f5a064845d36dcfd68 100644 (file)
@@ -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