Subject: kernel config include problem
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-help
Date: 07/31/2005 18:17:28
Hi,

I've created a kernel config file with the following contents:

$ cat GENERIC_LAPTOP.noACPI
include "arch/i386/conf/GENERIC_LAPTOP"
no acpi0 at mainbus0
no options ACPI_ACTIVATE_DEV

Running config(1) on this file works fine. However, if I include this
file from another file:

$ cat TEST
include "arch/i386/conf/GENERIC_LAPTOP.noACPI"

and run config(1) on it, I get:

$ config -v -s /usr/src/sys -b TEST /usr/src/sys/arch/i386/conf/TEST
/usr/src/sys/arch/i386/conf/GENERIC_LAPTOP.noACPI:1: syntax error
/usr/src/sys/arch/i386/conf/GENERIC_LAPTOP.noACPI:1: cannot proceed without machine specifier

Hmm, is this supposed to work like this? I.e. is this a bug, or am I
missing something?


TIA, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~