Commit 105b0945 authored by Linus Torvalds's avatar Linus Torvalds

Merge http://linux-isdn.bkbits.net/linux-2.5.make

into home.transmeta.com:/home/torvalds/v2.5/linux
parents 6dc96735 00fe4dbe
This diff is collapsed.
...@@ -191,21 +191,19 @@ ifneq "$(strip $(obj-m))" "" ...@@ -191,21 +191,19 @@ ifneq "$(strip $(obj-m))" ""
MOD_DESTDIR := $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh) MOD_DESTDIR := $(shell $(CONFIG_SHELL) $(TOPDIR)/scripts/pathdown.sh)
endif endif
unexport MOD_DIRS ifneq "$(strip $(MOD_SUB_DIRS))" ""
MOD_DIRS := $(MOD_SUB_DIRS) $(MOD_IN_SUB_DIRS) .PHONY: $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS))
ifneq "$(strip $(MOD_DIRS))" "" $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS)) : dummy
.PHONY: $(patsubst %,_modsubdir_%,$(MOD_DIRS))
$(patsubst %,_modsubdir_%,$(MOD_DIRS)) : dummy
$(MAKE) -C $(patsubst _modsubdir_%,%,$@) modules $(MAKE) -C $(patsubst _modsubdir_%,%,$@) modules
.PHONY: $(patsubst %,_modinst_%,$(MOD_DIRS)) .PHONY: $(patsubst %,_modinst_%,$(MOD_SUB_DIRS))
$(patsubst %,_modinst_%,$(MOD_DIRS)) : dummy $(patsubst %,_modinst_%,$(MOD_SUB_DIRS)) : dummy
$(MAKE) -C $(patsubst _modinst_%,%,$@) modules_install $(MAKE) -C $(patsubst _modinst_%,%,$@) modules_install
endif endif
.PHONY: modules .PHONY: modules
modules: $(obj-m) dummy \ modules: $(obj-m) dummy \
$(patsubst %,_modsubdir_%,$(MOD_DIRS)) $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS))
.PHONY: _modinst__ .PHONY: _modinst__
_modinst__: dummy _modinst__: dummy
...@@ -216,7 +214,7 @@ endif ...@@ -216,7 +214,7 @@ endif
.PHONY: modules_install .PHONY: modules_install
modules_install: _modinst__ \ modules_install: _modinst__ \
$(patsubst %,_modinst_%,$(MOD_DIRS)) $(patsubst %,_modinst_%,$(MOD_SUB_DIRS))
# #
# A rule to do nothing # A rule to do nothing
......
...@@ -36,7 +36,7 @@ ifeq ($(filter $(subdir-y),oss),oss) ...@@ -36,7 +36,7 @@ ifeq ($(filter $(subdir-y),oss),oss)
obj-y += oss/_oss.o obj-y += oss/_oss.o
endif endif
obj-$(CONFIG_SND_PCM_OSS) += snd-pcm.o obj-$(CONFIG_SND_PCM_OSS) += snd-pcm.o snd-timer.o
subdir-$(CONFIG_SND_SEQUENCER) += seq subdir-$(CONFIG_SND_SEQUENCER) += seq
ifeq ($(CONFIG_SND_SEQUENCER),y) ifeq ($(CONFIG_SND_SEQUENCER),y)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment