ALSA Makefile cleanup: use $(mod-subdirs)
authorKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 30 Apr 2002 05:10:32 +0000 (00:10 -0500)
committerKai Germaschewski <kai@tp1.ruhr-uni-bochum.de>
Tue, 30 Apr 2002 05:10:32 +0000 (00:10 -0500)
commitf8e8994a0e62a0c548d7fda3dc17091eb218d50a
tree5adab89a285c61517762c67382a71105aa347fe9
parente66d591500da68d8ab104d2567e0e114d8634cd1
ALSA Makefile cleanup: use $(mod-subdirs)

Some places were doing:

        subdir-$(CONFIG_FOO) += foo
        ifeq ($(CONFIG_FOO),y)
          subdir-m += foo
        fi

That can be expressed more easily as

        mod-subdirs := foo
        subdir-$(CONFIG_FOO) += foo
sound/Makefile
sound/core/Makefile
sound/core/seq/Makefile
sound/drivers/Makefile
sound/isa/Makefile
sound/pci/Makefile
sound/synth/Makefile