]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - Documentation/kbuild/makefiles.txt
kbuild: drop support for cc-ldoption
[linux.git] / Documentation / kbuild / makefiles.txt
index 03c065855eafb39e00179626bfd2a5106a945079..d65ad5746f9482c494bf6bef390308695f7eb35c 100644 (file)
@@ -437,20 +437,6 @@ more details, with real examples.
        The second argument is optional, and if supplied will be used
        if first argument is not supported.
 
-    cc-ldoption
-       cc-ldoption is used to check if $(CC) when used to link object files
-       supports the given option.  An optional second option may be
-       specified if first option are not supported.
-
-       Example:
-               #arch/x86/kernel/Makefile
-               vsyscall-flags += $(call cc-ldoption, -Wl$(comma)--hash-style=sysv)
-
-       In the above example, vsyscall-flags will be assigned the option
-       -Wl$(comma)--hash-style=sysv if it is supported by $(CC).
-       The second argument is optional, and if supplied will be used
-       if first argument is not supported.
-
     as-instr
        as-instr checks if the assembler reports a specific instruction
        and then outputs either option1 or option2