An error occurred while fetching folder content.
Select Git revision
scripts
Jeroen Hofstee
authored and
Thierry Strudel
committed
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> (cherry picked from commit cf0c3e68aa81f992b0301f62e341b710d385bf68) Change-Id: Ibd6372ff048df43f9db8da9f9978b64baffc3fbf Signed-off-by:
Greg Hackmann <ghackmann@google.com>