From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71106 invoked by alias); 24 May 2017 19:41:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 71050 invoked by uid 89); 24 May 2017 19:41:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_LAZY_DOMAIN_SECURITY,NO_DNS_FOR_FROM,RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=no X-HELO: mga06.intel.com X-ExtLoop1: 1 Date: Wed, 24 May 2017 19:41:00 -0000 From: "H.J. Lu" To: GNU C Library Subject: [PATCH] Support dl-tunables.list in subdirectories Message-ID: <20170524194109.GA23029@lucon.org> Reply-To: "H.J. Lu" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.8.0 (2017-02-23) X-SW-Source: 2017-05/txt/msg00736.txt.bz2 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