Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Dec 2002 19:36:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Dec 2002 19:36:36 -0500 Received: from dp.samba.org ([66.70.73.150]:64745 "EHLO lists.samba.org") by vger.kernel.org with ESMTP id ; Wed, 18 Dec 2002 19:36:36 -0500 From: Rusty Russell To: Kai Germaschewski Cc: vamsi@in.ibm.com, Zwane Mwaikambo , lkml Subject: Re: [BUG] module-init-tools 0.9.3, rmmod modules with '-' In-reply-to: Your message of "Wed, 18 Dec 2002 11:47:26 MDT." Date: Thu, 19 Dec 2002 11:39:24 +1100 Message-Id: <20021219004437.23CE82C055@lists.samba.org> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 804 Lines: 26 In message y ou write: > On Wed, 18 Dec 2002, Rusty Russell wrote: > > Has there ever been a simple way? > > Well, you can do > > cd my_module > echo "obj-m := my_module.o" > Makefile > vi my_module.c > make -C SUBDIRS=$PWD modules > > That's not too bad (and basically works for 2.4 as well) And then you're independent of changes in the build system, too. I like it. Thanks for the tip! Rusty. -- Anyone who quotes me in their sig is an idiot. -- Rusty Russell. - 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/