From owner-freebsd-hackers@FreeBSD.ORG Tue Apr 1 06:36:38 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53FFC106564A for ; Tue, 1 Apr 2008 06:36:38 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10]) by mx1.freebsd.org (Postfix) with ESMTP id 054478FC14 for ; Tue, 1 Apr 2008 06:36:37 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by cs1.cs.huji.ac.il with esmtp id 1Jga6m-000Cj7-CY for freebsd-hackers@freebsd.org; Tue, 01 Apr 2008 09:36:36 +0300 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: freebsd-hackers@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 01 Apr 2008 09:36:36 +0300 From: Danny Braniss Message-ID: Subject: Re: MODULES_OVERRIDE magic needed X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Apr 2008 06:36:38 -0000 > The following works fine here note its MODULE'S' not MODULE > > makeoptions MODULES_OVERRIDE="linux linprocfs acpi nfsclient nfsserver nullfs accf_http" > > Regards > Steve > > hi, > > I'm trying to compile only a few kernel modules, but > > using MODULES_OVERRIDE I can only select one module. > > MODULE_OVERRIDE="unionfs" > > or > > MODULE_OVERRIDE="if_sis" > > is ok, but > > MODULE_OVERRIDE="if_sis unionfs" > > failes with either > > if_sis: not found > > if it's defined in src.conf, or with > > make: don't know how to make if_sis > > from the command line. > > > > danny thanks to all who replied! I was getting frustrated, what I forgot to mention was that the 'command' was run from a shell file, and when I tried it directly it worked, so eval to the rescue, in my shell file now: eval "/usr/bin/time $cmd" where cmd was built starting from cmd="MODULES_OVERRIDE=\"sis wlan ndis unionfs\"" thanks again, danny