Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1767192AbXEBXBg (ORCPT ); Wed, 2 May 2007 19:01:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1767193AbXEBXBg (ORCPT ); Wed, 2 May 2007 19:01:36 -0400 Received: from einhorn.in-berlin.de ([192.109.42.8]:47863 "EHLO einhorn.in-berlin.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1767192AbXEBXBe (ORCPT ); Wed, 2 May 2007 19:01:34 -0400 X-Envelope-From: stefanr@s5r6.in-berlin.de Message-ID: <46391834.2050209@s5r6.in-berlin.de> Date: Thu, 03 May 2007 01:01:08 +0200 From: Stefan Richter User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.2) Gecko/20070408 SeaMonkey/1.1.1 MIME-Version: 1.0 To: Christoph Hellwig , Stefan Richter , linux-kernel@vger.kernel.org, Kristian H??gsberg , Linus Torvalds , Andrew Morton , linux1394-devel Subject: Re: [PATCH 6/6] firewire: add it all to kbuild References: <4637A29F.6070302@redhat.com> <20070502090007.GA28174@infradead.org> <20070502194442.GE1248@infradead.org> In-Reply-To: <20070502194442.GE1248@infradead.org> X-Enigmail-Version: 0.94.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1090 Lines: 42 Christoph Hellwig wrote: >> +fw-core-objs := fw-card.o fw-topology.o fw-transaction.o fw-iso.o \ >> + fw-device.o fw-cdev.o > > fw-core-y += .. > Like such? --- linux.orig/drivers/usb/core/Makefile +++ linux/drivers/usb/core/Makefile @@ -2,17 +2,12 @@ # Makefile for USB Core files and filesystem # -usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \ +usbcore-y += usb.o hub.o hcd.o urb.o message.o driver.o \ config.o file.o buffer.o sysfs.o endpoint.o \ devio.o notify.o generic.o quirks.o -ifeq ($(CONFIG_PCI),y) - usbcore-objs += hcd-pci.o -endif - -ifeq ($(CONFIG_USB_DEVICEFS),y) - usbcore-objs += inode.o devices.o -endif +usbcore-$(CONFIG_PCI) += hcd-pci.o +usbcore-$(CONFIG_USB_DEVICEFS) += inode.o devices.o obj-$(CONFIG_USB) += usbcore.o -- Stefan Richter -=====-=-=== -=-= ---== http://arcgraph.de/sr/ - 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/