Blame view

scripts/Makefile 1.19 KB
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
1
2
3
4
5
6
  ###
  # scripts contains sources for various helper programs used throughout
  # the kernel for the build process.
  # ---------------------------------------------------------------------------
  # kallsyms:      Find all symbols in vmlinux
  # pnmttologo:    Convert pnm files to logo files
556b0f58b   David Woodhouse   Revert "fix modul...
7
  # conmakehash:   Create chartable
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
8
  # conmakehash:	 Create arrays for initializing the kernel console tables
bffd2020a   Peter Foley   kbuild: move scri...
9
  # docproc:       Used in Documentation/DocBook
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
10
11
12
13
  
  hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
  hostprogs-$(CONFIG_LOGO)         += pnmtologo
  hostprogs-$(CONFIG_VT)           += conmakehash
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
14
  hostprogs-$(CONFIG_IKCONFIG)     += bin2c
72441cb1f   Steven Rostedt   ftrace/x86: Add s...
15
  hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
16

f2443ab6c   Ross Biro   [PATCH] allow /pr...
17
  always		:= $(hostprogs-y) $(hostprogs-m)
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
18

07aea3a71   Sam Ravnborg   kbuild: use in-ke...
19
  # The following hostprogs-y programs are only build on demand
bffd2020a   Peter Foley   kbuild: move scri...
20
  hostprogs-y += unifdef docproc
07aea3a71   Sam Ravnborg   kbuild: use in-ke...
21

bffd2020a   Peter Foley   kbuild: move scri...
22
  # These targets are used internally to avoid "is up to date" messages
e1b702cf2   Mike Waychison   KBuild: silence "...
23
24
25
  PHONY += build_unifdef
  build_unifdef: scripts/unifdef FORCE
  	@:
bffd2020a   Peter Foley   kbuild: move scri...
26
27
  build_docproc: scripts/docproc FORCE
  	@:
e1b702cf2   Mike Waychison   KBuild: silence "...
28

1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
29
  subdir-$(CONFIG_MODVERSIONS) += genksyms
12715d20a   Sam Ravnborg   kbuild: modpost o...
30
  subdir-y                     += mod
93c06cbbf   Serge E. Hallyn   selinux: add supp...
31
  subdir-$(CONFIG_SECURITY_SELINUX) += selinux
9fffb55f6   David Gibson   Move dtc and libf...
32
  subdir-$(CONFIG_DTC)         += dtc
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
33
34
  
  # Let clean descend into subdirs
93c06cbbf   Serge E. Hallyn   selinux: add supp...
35
  subdir-	+= basic kconfig package selinux