From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTPS id CEFB9941 for ; Wed, 3 Aug 2016 19:00:43 +0000 (UTC) Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 86FAF1C0 for ; Wed, 3 Aug 2016 19:00:43 +0000 (UTC) Date: Wed, 3 Aug 2016 16:00:39 -0300 From: Arnaldo Carvalho de Melo To: "Wangnan (F)" Message-ID: <20160803190039.GF14639@kernel.org> References: <0e76826b-6552-e880-42fc-17be0c5bf3fe@infradead.org> <57A02743.1080208@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <57A02743.1080208@huawei.com> Cc: ksummit-discuss@lists.linuxfoundation.org Subject: Re: [Ksummit-discuss] [TECH TOPIC] tools/Makefile: Fix Many Many problems and inconsistencies List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Em Tue, Aug 02, 2016 at 12:53:23PM +0800, Wangnan (F) escreveu: > On 2016/8/2 11:46, Randy Dunlap wrote: > > and subdir Makefiles. > > Examples: > > > > Use/honor O=outputdir consistently instead of building in /tools. > > (check/compare kernel commit bf35182ffcd00d8b36d56210ffdac110e5624d7d) > > > > Honor MAKEFLAGS (well, they aren't even passed to tools/Makefile AFAICT. > > from an execution log: > > make LDFLAGS= MAKEFLAGS="" O=/local/lnx/kernel/lnx-47/TOOLS subdir=tools -C ../tools/ all > > > > Use make's "findstring" correctly (see patch below) > > > > There are lots of other problems unless I have just had too much too drink tonight, > > so here's the TECH TOPIC: > > > > In a 1.5 hour code crunch session, get a bunch of interested people together to fix > > a lot of problems quickly. Then I will be a guinea pig tester. :) > > > > Self-nomination: /me. > > Others interested: > > Arnaldo (acme); Michal Marek. > Please count me in. I worked in tools/Makefile and tools/perf/Makefile, > solved > some problems to make it work for my cross-compiling environment. 'O=' is > important > to me. I'll be in town the whole week, to attend plumbers, will be happy to talk about tools/ related issues. - Arnaldo