]> git.pld-linux.org Git - packages/kernel.git/blob - linux-kbuild-extmod.patch
- obsolete
[packages/kernel.git] / linux-kbuild-extmod.patch
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
3 @@ -397,7 +397,6 @@
4  # Build targets only - this includes vmlinux, arch specific targets, clean
5  # targets and others. In general all targets except *config targets.
6  
7 -ifeq ($(KBUILD_EXTMOD),)
8  # Additional helpers built in scripts/
9  # Carefully list dependencies so we do not try to build scripts twice
10  # in parrallel
11 @@ -407,6 +406,7 @@
12  
13  scripts_basic: include/linux/autoconf.h
14  
15 +ifeq ($(KBUILD_EXTMOD),)
16  # Objects we will link into vmlinux / subdirs we need to visit
17  init-y         := init/
18  drivers-y      := drivers/ sound/ cluster/
19 @@ -957,7 +957,7 @@
20  
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_%,%,$@)
26  
27  modules: $(module-dirs)
This page took 0.028006 seconds and 3 git commands to generate.