sound Makefile glitch

Keith Owens (kaos@ocs.com.au)
Fri, 17 Jan 1997 10:45:41 +1100


The 'modules:' line in drivers/sound/Makefile uses `pwd` to generate
the modules link. This builds a link with an absolute path, all the
other links in $(TOPDIR)/modules are relative, they are built with
scripts/pathdown.sh.

The explicit link causes a problem if you rename TOPDIR between make
modules and make modules_install, say testing multiple versions of
Linux and you want to make sure you have the right set of modules
installed. Either sound.o is not installed or you get a sound.o from
another TOPDIR entirely.