tools/liblockdep: Fix linker error in case of cross compile
authorEunbong Song <eunb.song@samsung.com>
Fri, 24 Apr 2015 04:36:27 +0000 (04:36 +0000)
committerSasha Levin <sasha.levin@oracle.com>
Wed, 13 May 2015 10:09:09 +0000 (06:09 -0400)
commitd1e40e592678b8955a8ed36bdeaf42929822302e
treeb99bbfddda4ed31acfad9308916715b21882e17d
parentb787f68c36d49bb1d9236f403813641efa74a031
tools/liblockdep: Fix linker error in case of cross compile

If we try to cross compile liblockdep, even if we set the CROSS_COMPILE variable
the linker error can occur because LD is not set with CROSS_COMPILE.
This patch adds "LD" can be set automatically with CROSS_COMPILE variable so
fixes linker error problem.

Signed-off-by: Eunbong Song <eunb.song@samsung.com>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
tools/lib/lockdep/Makefile