OSDN Git Service

greybus: build: android: fix strip module build step
authorMichael Scott <michael.scott@linaro.org>
Mon, 5 Oct 2015 19:33:04 +0000 (12:33 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 6 Oct 2015 05:30:32 +0000 (06:30 +0100)
commitd3247a3fc7123f7001829a6ece731cf23e56a829
treea7d87087bcf617f25b35ebe04a61be53e7b8fa38
parentadc401417eb87cfb6ce93e0f66eea19ee40fe5b8
greybus: build: android: fix strip module build step

Currently, the greybus module .ko files are quite large and the
following error was observed during Android build for each greybus module:
strip: Unable to recognise the format of the input file `<module>`

Fix the strip build step by replacing the undefined KERNEL_TOOLCHAIN_PATH
variable with the GREYBUS_CC_PREFIX variable.  Also used as the
CROSS_COMPILER value for the module make.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Android.mk