1 --- linux-2.6.6/Makefile.orig 2004-05-23 13:18:32.000000000 +0200
2 +++ linux-2.6.6/Makefile 2004-05-23 13:20:16.759551080 +0200
4 # Build targets only - this includes vmlinux, arch specific targets, clean
5 # targets and others. In general all targets except *config targets.
7 -ifeq ($(KBUILD_EXTMOD),)
8 # Additional helpers built in scripts/
9 # Carefully list dependencies so we do not try to build scripts twice
13 scripts_basic: include/linux/autoconf.h
15 +ifeq ($(KBUILD_EXTMOD),)
16 # Objects we will link into vmlinux / subdirs we need to visit
18 drivers-y := drivers/ sound/ cluster/
21 module-dirs := $(addprefix _module_,$(KBUILD_EXTMOD))
22 .PHONY: $(module-dirs) modules
23 -$(module-dirs): crmodverdir
24 +$(module-dirs): crmodverdir scripts
25 $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@)
27 modules: $(module-dirs)