From: Roger Pau Monne Date: Wed, 4 Sep 2024 08:23:41 +0000 (+0200) Subject: xen/x86: drop passing include path to the assembler X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=c7a788ee94de2cf228d5e441fefeeebb6a909bb9;p=people%2Froyger%2Fxen.git xen/x86: drop passing include path to the assembler The current logic to pass the non-arch include path to the assembler is no longer required, since the .include asm macros all use full paths, the more it was missing the arch specific include path after the move from include/ into arch/. This should have been part of: 762c3890c89f x86: fold indirect_thunk_asm.h into asm-defns.h As the above change dropped the usage of .include with a header relative path. Signed-off-by: Roger Pau Monné --- diff --git a/xen/arch/x86/arch.mk b/xen/arch/x86/arch.mk index 4f6c086988..e2bc55397e 100644 --- a/xen/arch/x86/arch.mk +++ b/xen/arch/x86/arch.mk @@ -124,6 +124,3 @@ endif # $(XEN_BUILD_PE) export XEN_BUILD_EFI XEN_BUILD_PE export EFI_LDFLAGS endif - -# Set up the assembler include path properly for older toolchains. -CFLAGS += -Wa,-I$(objtree)/include -Wa,-I$(srctree)/include