]> git.pld-linux.org Git - packages/kernel.git/blob - linux-kbuild-extmod.patch
- CSZ scheduler removed from kernel tree.
[packages/kernel.git] / linux-kbuild-extmod.patch
1 --- linux-2.6.6/scripts/Makefile.modpost.orig   Thu Apr 15 03:35:04 2004
2 +++ linux-2.6.6/scripts/Makefile.modpost        Tue Apr 20 16:43:56 2004
3 @@ -50,7 +50,7 @@
4  #  Includes step 3,4
5  quiet_cmd_modpost = MODPOST
6        cmd_modpost = scripts/modpost \
7 -       $(if $(KBUILD_EXTMOD),-i,-o) $(symverfile) \
8 +       $(if $(CONFIG_MODVERSIONS),$(if $(filter vmlinux,$^),-o,-i) $(symverfile)) \
9         $(filter-out FORCE,$^)
10  
11  __modpost: $(if $(KBUILD_EXTMOD),,$(wildcard vmlinux)) $(modules:.ko=.o) FORCE
12 --- linux-2.6.6/Makefile.orig   2004-05-23 13:18:32.000000000 +0200
13 +++ linux-2.6.6/Makefile        2004-05-23 13:20:16.759551080 +0200
14 @@ -397,7 +397,6 @@
15  # Build targets only - this includes vmlinux, arch specific targets, clean
16  # targets and others. In general all targets except *config targets.
17  
18 -ifeq ($(KBUILD_EXTMOD),)
19  # Additional helpers built in scripts/
20  # Carefully list dependencies so we do not try to build scripts twice
21  # in parrallel
22 @@ -407,6 +406,7 @@
23  
24  scripts_basic: include/linux/autoconf.h
25  
26 +ifeq ($(KBUILD_EXTMOD),)
27  # Objects we will link into vmlinux / subdirs we need to visit
28  init-y         := init/
29  drivers-y      := drivers/ sound/ cluster/
30 @@ -957,7 +957,7 @@
31  
32  module-dirs := $(addprefix _module_,$(KBUILD_EXTMOD))
33  .PHONY: $(module-dirs) modules
34 -$(module-dirs): crmodverdir
35 +$(module-dirs): crmodverdir scripts
36         $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@)
37  
38  modules: $(module-dirs)
This page took 0.048465 seconds and 3 git commands to generate.