uart401/sb modules problem solved

Kevin Lentin (kevinl@cs.monash.edu.au)
Sat, 27 Dec 1997 12:04:36 +1100


The problem with compiling sb.o as a module and not getting uart401 is not
a Makefile problem. The problem is in the drivers/sound/Defines file...

ifdef CONFIG_SB
ifneq ($(CONFIG_UART401),Y)
CONFIG_UART401=y
endif
endif

Of course, this clobbers any good that is done in the Makefile. (There are
similar sections for TRIX and MAD16 and OPL3SA1
I can see two solutions:

1) Change the middle line to read
CONFIG_UART401=$(CONFIG_SB)
or something similar

2) Just nuke that whole section. The Makefile does it all anyway. I've
verified that commenting out that section works.

-- 
[======================================================================]
[     Kevin Lentin               Email: K.Lentin@cs.monash.edu.au      ]
[   finger kevinl@fangorn.cs.monash.edu.au for PGP public key block.   ]
[  KeyId: 06808EED    FingerPrint: 6024308DE1F84314  811B511DBA6FD596  ]
[======================================================================]