NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Configured a kernel a diff way -- and failed



Below is the piece of the kernel config in question.
I put moet of the drivers in "GENERIC.local" and pulled it in.

If I execute "config GENERIC*-1-July-2021". It works.

If it cd to this dir and execute "make depend". Whats wrong?
AAAND what is /etc/mk.conf doing in here?

I am trying to avoid commenting out 600 device drivers each time I
compile a kernel.

Any advice would be appreciated.

tpm*    at isa? iomem 0xfed40000 irq 7

###########################################################################

##  I deleted cs. 660 lines -- drivers -- I put them in 'GENERIC.local'  ##

###########################################################################

# Pull in optional local configuration
cinclude "arch/amd64/conf/GENERIC.local"

# Pseudo-Devices





gandalf# config GENERIC-HEAD2-1-July-2021
config GENERIC-HEAD2-1-July-2021
Build directory is ../compile/GENERIC-HEAD2-1-July-2021
Don't forget to run "make depend"
gandalf# cd ../compile
cd ../compile
gandalf# ls -l
ls -l
total 904
drwxrwxr-x  2 root  wsrc     512 Jun 27 09:03 CVS
drwxr-xr-x  4 root  wsrc  229376 Jun 28 19:40 GENERIC
drwxr-xr-x  2 root  wsrc  210944 Jun 28 15:52 GENERIC-HEAD-28-June-2021
drwxr-xr-x  2 root  wsrc   11264 Jul  2 14:27 GENERIC-HEAD2-1-July-2021
-rw-rw-r--  1 root  wsrc      81 Apr 26  2003 Makefile
gandalf# cd GENERIC-HEAD2-1-July-2021
cd GENERIC-HEAD2-1-July-2021
gandalf# make depend
make depend
make: "/etc/mk.conf" line 304: Malformed conditional (${OPSYS} ==
"OpenBSD" || ${OPSYS} == "Bitrig")
make: "/etc/mk.conf" line 632: Malformed conditional (${OPSYS} == "IRIX")
make: Fatal errors encountered -- cannot continue
make: stopped in /usr/src/sys/arch/amd64/compile/GENERIC-HEAD2-1-July-2021
gandalf#


Home | Main Index | Thread Index | Old Index