kbuild: make cc-version available in kbuild files
authorSam Ravnborg <sam@mars.ravnborg.org>
Sun, 22 Jan 2006 12:34:15 +0000 (13:34 +0100)
committerSam Ravnborg <sam@mars.ravnborg.org>
Sun, 19 Feb 2006 08:51:20 +0000 (09:51 +0100)
commit20a468b51325b3636785a8ca0047ae514b39cbd5
tree22e8d00b947cd110c9d600d24c4119ff30ff22c1
parentb39927cf4cc5a9123d2b157ffd396884cb8156eb
kbuild: make cc-version available in kbuild files

Move $(CC) support functions to Kbuild.include so they are available
in the kbuild files.
In addition the following was done:
o as-option documented in Documentation/kbuild/makefiles.txt
o Moved documentation to new section to match
  new scope of functions
o added cc-ifversion used to conditionally select a text string
  dependent on actual $(CC) version
o documented cc-ifversion
o change so Kbuild.include is read before the kbuild file

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Documentation/kbuild/makefiles.txt
Makefile
scripts/Kbuild.include
scripts/Makefile.build