[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170111080755.GA36664@f23x64.localdomain>
Date: Wed, 11 Jan 2017 00:07:55 -0800
From: Darren Hart <dvhart@...radead.org>
To: Stafford Horne <shorne@...il.com>
Cc: Shuah Khan <shuah@...nel.org>, linux-kernel@...r.kernel.org,
dvhart@...ux.intel.com, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH] selftests/futex: Fix makefile dependencies
On Wed, Jan 11, 2017 at 01:37:19PM +0900, Stafford Horne wrote:
> On Tue, Jan 10, 2017 at 02:17:18PM -0800, Darren Hart wrote:
> > On Tue, Jan 10, 2017 at 02:10:42PM -0800, Darren Hart wrote:
> > > On Fri, Jan 06, 2017 at 01:18:39PM +0900, Stafford Horne wrote:
> > > > I am working on doing selftests for openrisc and found issues with the
> > > > futex test is not building after changes to the tests source.
> > > >
> > > > This issue is that the TARGETS variable used in the futex Makefile is
> > > > also used by the selftests Makefile, so when building from toplevel the
> > > > TARGETS variable is clobbered and nothing gets built. Changed the
> > > > variable name to get around that.
> > > >
> > > > Also, the futex makefile did not contain dependencies for all headers,
> > > > so if we make changes to logging.h rebuild will not happen. Add headers
> > > > to fix it up.
> > > >
> > > > Signed-off-by: Stafford Horne <shorne@...il.com>
> > >
> > > Thanks for catching this and the fix.
> > >
> > > +Shuah Khan
> > >
> > > Note: This appears also to be a problem for intel_pstate/Makefile
> >
> > Or, it would be if intel_pstate was listed in selftests/Makefile :-)
>
> Right, thanks for having a look. I actually have a small patch to also
> add <stdio.h> to logging.h. If you have not already fixed the
> intel_pstate test I'll send them all together.
Please do, thanks!
--
Darren Hart
Intel Open Source Technology Center
Powered by blists - more mailing lists