summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.extrawarn
diff options
context:
space:
mode:
authorJeroen Hofstee2017-04-21 08:21:11 +0200
committerMasahiro Yamada2017-04-23 08:51:26 +0200
commitcf0c3e68aa81f992b0301f62e341b710d385bf68 (patch)
tree7645f9967cf133854eefd270ee84264cc3d614da /scripts/Makefile.extrawarn
parentkbuild: consolidate redundant sed script ASM offset generation (diff)
downloadkernel-qcow2-linux-cf0c3e68aa81f992b0301f62e341b710d385bf68.tar.gz
kernel-qcow2-linux-cf0c3e68aa81f992b0301f62e341b710d385bf68.tar.xz
kernel-qcow2-linux-cf0c3e68aa81f992b0301f62e341b710d385bf68.zip
kbuild: fix asm-offset generation to work with clang
KBuild abuses the asm statement to write to a file and clang chokes about these invalid asm statements. Hack it even more by fooling this is actual valid asm code. [masahiro: Import Jeroen's work for U-Boot: http://patchwork.ozlabs.org/patch/375026/ Tweak sed script a little to avoid garbage '#' for GCC case, like #define NR_PAGEFLAGS 23 /* __NR_PAGEFLAGS # */ ] Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Reviewed-by: Matthias Kaehlcke <mka@chromium.org> Tested-by: Matthias Kaehlcke <mka@chromium.org>
Diffstat (limited to 'scripts/Makefile.extrawarn')
0 files changed, 0 insertions, 0 deletions