]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit79eb07d56ed6f2e1a0f8765d146060f576807afc
tree22e8d00b947cd110c9d600d24c4119ff30ff22c1
parent089ef9bcda3b62182fd5e590349b6f88cf5b2d5d
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