ARM: 8767/1: add support for building ARM kernel with clang
authorStefan Agner <[email protected]>
Tue, 8 May 2018 21:50:38 +0000 (22:50 +0100)
committerRussell King <[email protected]>
Sat, 19 May 2018 10:53:46 +0000 (11:53 +0100)
commitc1c386681bd73c4fc28eb5cc91cf8b7be9b409ba
treebaf51e27f36e449d9a5ca56599899e908ad963d8
parent22905a24306c8c312c2d66da9f90d09af0414f81
ARM: 8767/1: add support for building ARM kernel with clang

Use cc-options call for compiler options which are not available
in clang. With this patch an ARMv7 multi platform kernel can be
successfully build using clang (tested with version 5.0.1).

Based-on-patches-by: Behan Webster <[email protected]>
Signed-off-by: Stefan Agner <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/boot/compressed/Makefile