diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-10-12 17:56:19 +0300 |
---|---|---|
committer | Andy Gross <agross@codeaurora.org> | 2015-10-14 22:51:22 +0300 |
commit | 33e38b4f1c54f9c2d3b2034c18ef937a3c09bc66 (patch) | |
tree | 5816341e9c69698b00a1702e5fe36d7c61252e97 /drivers/soc | |
parent | ea4683e0b6c38ed54e5a66160c99d65f5022ecb2 (diff) | |
download | linux-33e38b4f1c54f9c2d3b2034c18ef937a3c09bc66.tar.xz |
firmware: qcom-scm: build for correct architecture level
The ".arch_extension sec" directive is only available on ARMv6 or higher,
so if we enable the SCM driver while building a kernel for an older CPU,
we get a build error:
/tmp/ccUyhMOY.s:130: Error: selected processor does not support ARM mode `smc #0'
/tmp/ccUyhMOY.s:216: Error: selected processor does not support ARM mode `smc #0'
/tmp/ccUyhMOY.s:373: Error: selected processor does not support ARM mode `smc #0'
make[4]: *** [drivers/firmware/qcom_scm-32.o] Error 1
This changes the Makefile so we pass the ARMv7 architecture level both
for the check and for the actual compilation of the scm driver.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andy Gross <agross@codeaurora.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions