From: H.J. Lu Date: Thu, 25 May 2017 12:41:05 +0000 (-0700) Subject: Support dl-tunables.list in subdirectories X-Git-Tag: glibc-2.26~456 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee8015b9ea084d5727ce477fdd8d935f1de7f7f6;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index c085c9b6370..b0c2047b80e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2017-05-25 H.J. Lu + + * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check + dl-tunables.list in subdirectories. + 2017-05-25 Paul E. Murphy Gabriel F. T. Gomes Tulio Magno Quites Machado Filho diff --git a/Makeconfig b/Makeconfig index b494b82b40f..e4eda4bcdf9 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