From: Anthony PERARD Date: Thu, 27 Feb 2020 14:46:14 +0000 (+0100) Subject: build: allow to test clang .include without asm symlink X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~610 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3934b0a7567dc5c3734fa2bfc5b92a34a574cac7;p=xen.git build: allow to test clang .include without asm symlink The clang test for "asm()-s support .include." needs to be modified because the symbolic link asm -> asm-x86 may not exist when the test is runned. Since it's an x86 test, we don't need the link. This will be an issue with the following patch "xen/build: have the root Makefile generates the CFLAGS". Signed-off-by: Anthony PERARD Reviewed-by: Roger Pau Monné Acked-by: Jan Beulich --- diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk index e69b8e697c..4b7ab78467 100644 --- a/xen/arch/x86/Rules.mk +++ b/xen/arch/x86/Rules.mk @@ -26,7 +26,7 @@ $(call as-option-add,CFLAGS,CC,".L0: .L1: .skip (.L1 - .L0)",,\ -no-integrated-as) # Check whether clang asm()-s support .include. -$(call as-option-add,CFLAGS,CC,".include \"asm/indirect_thunk_asm.h\"",,\ +$(call as-option-add,CFLAGS,CC,".include \"asm-x86/indirect_thunk_asm.h\"",,\ -no-integrated-as) # Check whether clang keeps .macro-s between asm()-s: