kbuild: introduce ld-option

ld-option is used to check if $(LD) supports a specific option.

Based on patch from Andi Kleen.

Cc: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
First use is to check if option -X is supported (upcoming patch).
Theis is ne
This commit is contained in:
Sam Ravnborg 2009-09-19 10:31:45 +02:00
commit 691ef3e7fd
2 changed files with 21 additions and 1 deletions