Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935168Ab0KQSSt (ORCPT ); Wed, 17 Nov 2010 13:18:49 -0500 Received: from mail-qw0-f46.google.com ([209.85.216.46]:62250 "EHLO mail-qw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933148Ab0KQSSs (ORCPT ); Wed, 17 Nov 2010 13:18:48 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QsNDFHLzn5tR/wtvQGx4ngh6xZgXVUJeNYJQfwgigqfa176XRhkinTFDXVP/0WDt0r iI0xHM6yS0TjNEuacVQSzB+4ma7+NwETLd65goJYnKKZ2c6xN11uyYlT4CbYyiv2x3Ia EgYLLkfLSlc6YK/Dge2pQlQ5omwVLo2TD9WQA= MIME-Version: 1.0 In-Reply-To: <20101117072117.GC7046@core.coreip.homeip.net> References: <1289141188-1447-1-git-send-email-tdent48227@gmail.com> <20101117072117.GC7046@core.coreip.homeip.net> Date: Wed, 17 Nov 2010 13:18:46 -0500 Message-ID: Subject: Re: [PATCH 1/2] Drivers: hid: Makefile: Cleaned up Makefile From: Tracey Dent To: Dmitry Torokhov Cc: Jiri Kosina , chatty@enac.fr, spbnick@gmail.com, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1452 Lines: 44 On 11/17/10, Dmitry Torokhov wrote: > On Tue, Nov 16, 2010 at 10:28:19PM -0500, Tracey Dent wrote: >> On 11/15/10, Jiri Kosina wrote: >> > On Sun, 7 Nov 2010, Tracey Dent wrote: >> > >> >> Changed Makefile to use -y instead of -objs because >> >> -objs is deprecated and should now be switched. According to >> >> (documentation/kbuild/makefiles.txt). >> > >> > Actually, where exactly does this file document it? >> > >> >> It documents how it should be done in the section entitled --- 3.7 >> Compilation flags (which starts on line 284). >> > > Actually the only reference I could find is in 3.3: > > If a kernel module is built from several source files, you specify > that you want to build a module in the same way as above; however, > kbuild needs to know which object files you want to build your > module from, so you have to tell it by setting a $(-y) > variable. > > See commit 4f8272802739f5c6ce6b0a548810a181d2f1b652 for reasoning behind > the change. > You're right, I was thinking I changed to use ccflags-y flags. Sorry :( > Thanks. > > -- > Dmitry > Thanks Tracey Dent -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/