[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-cvs
Subject:    [Xen-changelog] [xen staging] build: allow to test clang .include without asm symlink
From:       patchbot () xen ! org
Date:       2020-02-27 14:55:55
Message-ID: E1j7KZv-0003Ix-1R () xenbits ! xenproject ! org
[Download RAW message or body]

commit 3934b0a7567dc5c3734fa2bfc5b92a34a574cac7
Author:     Anthony PERARD <anthony.perard@citrix.com>
AuthorDate: Thu Feb 27 15:46:14 2020 +0100
Commit:     Jan Beulich <jbeulich@suse.com>
CommitDate: Thu Feb 27 15:46:14 2020 +0100

    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 <anthony.perard@citrix.com>
    Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
    Acked-by: Jan Beulich <jbeulich@suse.com>
---
 xen/arch/x86/Rules.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
--
generated by git-patchbot for /home/xen/git/xen.git#staging


[Attachment #3 (text/plain)]

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xenproject.org
https://lists.xenproject.org/xen-changelog

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic