VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Nick Desaulniers <ndesaulniers@google.com> 2020-11-09 10:35:28 -0800 committer: Masahiro Yamada <masahiroy@kernel.org> 2020-11-25 03:41:26 +0900 commit: b8a9092330da2030496ff357272f342eb970d51b parent: a716bd7432106aed82a751409d7be851a23022ac
Commit Summary:
Kbuild: do not emit debug info for assembly with LLVM_IAS=1
Diffstat:
1 file changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 87d659d3c8de..ae1592c1f5d6 100644
--- a/Makefile
+++ b/Makefile
@@ -828,7 +828,9 @@ else
 DEBUG_CFLAGS	+= -g
 endif
 
+ifneq ($(LLVM_IAS),1)
 KBUILD_AFLAGS	+= -Wa,-gdwarf-2
+endif
 
 ifdef CONFIG_DEBUG_INFO_DWARF4
 DEBUG_CFLAGS	+= -gdwarf-4