greybus: makefile: use POSIX functions for kernel cmp
authorRui Miguel Silva <rui.silva@linaro.org>
Sat, 15 Aug 2015 23:48:03 +0000 (00:48 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 18 Aug 2015 16:27:48 +0000 (09:27 -0700)
commit1ab2e8918de583f7f98289448af6d8784a4c4ced
tree30552f74eacad5bef8cc2c34efd296e055c2250d
parent2870b52bae4c81823ffcb3ed2b0626fb39d64f48
greybus: makefile: use POSIX functions for kernel cmp

[[, == and echo -e are bash/zsh-ism and not POSIX, so when using a POSIX
shell the kernel_cmp can issue some warnings and not work properly.

Use only POSIX operators for kernel version compare.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Tested-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile