buildkernel: Clean the dlkm directory prior to copying the binaries

In the case of incremental builds it's possible that the
$KERNEL_MODULES_OUT directory contains stale .ko files from
previous builds. This would inturn get packaged into the
final image, which is incorrect. Hence, make sure to clean
and start with a fresh directory to stage the modules.

Change-Id: I7c22527baf9d181f1aa88a12fd8123ec35342fda
Signed-off-by: Raghavendra Rao Ananta <rananta@codeaurora.org>
1 file changed