Blame view

scripts/Makefile 1.43 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

6520fe556   H. Peter Anvin   x86, realmode: 16...
11
  HOST_EXTRACFLAGS += -I$(srctree)/tools/include
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
12
13
14
  hostprogs-$(CONFIG_KALLSYMS)     += kallsyms
  hostprogs-$(CONFIG_LOGO)         += pnmtologo
  hostprogs-$(CONFIG_VT)           += conmakehash
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
15
  hostprogs-$(CONFIG_IKCONFIG)     += bin2c
72441cb1f   Steven Rostedt   ftrace/x86: Add s...
16
  hostprogs-$(BUILD_C_RECORDMCOUNT) += recordmcount
a79f248b9   David Daney   scripts: Add sort...
17
  hostprogs-$(CONFIG_BUILDTIME_EXTABLE_SORT) += sortextable
4520c6a49   David Howells   X.509: Add simple...
18
  hostprogs-$(CONFIG_ASN1)	 += asn1_compiler
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
19

d59a16836   David Daney   scripts/sortextab...
20
  HOSTCFLAGS_sortextable.o = -I$(srctree)/tools/include
4520c6a49   David Howells   X.509: Add simple...
21
  HOSTCFLAGS_asn1_compiler.o = -I$(srctree)/include
1da177e4c   Linus Torvalds   Linux-2.6.12-rc2
22

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

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

bffd2020a   Peter Foley   kbuild: move scri...
28
  # These targets are used internally to avoid "is up to date" messages
bfdfaeae5   Masahiro Yamada   kbuild: specify b...
29
30
  PHONY += build_unifdef build_docproc
  build_unifdef: $(obj)/unifdef
e1b702cf2   Mike Waychison   KBuild: silence "...
31
  	@:
bfdfaeae5   Masahiro Yamada   kbuild: specify b...
32
  build_docproc: $(obj)/docproc
bffd2020a   Peter Foley   kbuild: move scri...
33
  	@:
e1b702cf2   Mike Waychison   KBuild: silence "...
34

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