kbuild: test --build-id linker flag by ld-option instead of cc-ldoption
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 23 Feb 2018 04:56:52 +0000 (13:56 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 2 Mar 2018 00:20:56 +0000 (09:20 +0900)
commit0da4fabdf40a36e22b50f9a4143be18a0d98963f
tree248a40e0a118e750ee4a83b0dcffaaad9345d5aa
parenta7b151fffbf5236dd24b60aa0a83dc1c53c9f6c0
kbuild: test --build-id linker flag by ld-option instead of cc-ldoption

'--build-id' is passed to $(LD), so it should be tested by 'ld-option'.

This seems a kind of misconversion when ld-option was renamed to
cc-ldoption.

Commit f86fd3066052 ("kbuild: rename ld-option to cc-ldoption") renamed
all instances of 'ld-option' to 'cc-ldoption'.

Then, commit 691ef3e7fdc1 ("kbuild: introduce ld-option") re-added
'ld-option' as a new implementation.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Makefile