kbuild: fix cc-version
cc-version needs to use $(shell to get the gcc version.
Before if gave the following error when building the kernel:
/bin/sh: line 1: [: too many arguments
And all checks for gcc version were broken.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Showing
Please register or sign in to comment