kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables
kernel,module-base.bbclass: Improve KERNEL_LD & KERNEL_AR variables

KERNEL_LD was using ${LD} in it's definition, which is not correct for
different ABIs such as x32 or i386 on x86_64 machine. This brings it
into sync with the corresponding gcc settings, likewise the same with
the KERNEL_AR variable.

[RP: Updated commit message]
Signed-off-by: Nitin A Kamble <af96edc94e03b6e125cd50b677d91234a950daf8@intel.com>
Signed-off-by: Richard Purdie <3b7a1db6efedd40440bc6443bf377195011524e5@linuxfoundation.org>
Signed-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@dominion.thruhere.net>

WindRiver-OpenSourceLabs/meta-oe-subset,WindRiver-OpenSourceLabs/meta-oe-subset