]> xenbits.xensource.com Git - people/hx242/xen.git/commitdiff
x86/boot: use BASEDIR for include path
authorBertrand Marquis <bertrand.marquis@arm.com>
Tue, 16 Jun 2020 08:31:26 +0000 (10:31 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 16 Jun 2020 08:31:26 +0000 (10:31 +0200)
Use $(BASEDIR)/include instead of $(XEN_ROOT)/xen/include for the
include path to be coherent with the rest of the Makefiles.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Release-acked-by: Paul Durrant <paul@xen.org>
xen/arch/x86/boot/build32.mk

index 5851ebff5f586b8e1552bc7a182711859c9ffd50..8cd5403926a3a896d8b72e29afdc055d40f13123 100644 (file)
@@ -5,7 +5,7 @@ include $(XEN_ROOT)/Config.mk
 $(call cc-options-add,CFLAGS,CC,$(EMBEDDED_EXTRA_CFLAGS))
 
 CFLAGS += -Werror -fno-builtin -g0 -msoft-float
-CFLAGS += -I$(XEN_ROOT)/xen/include
+CFLAGS += -I$(BASEDIR)/include
 CFLAGS := $(filter-out -flto,$(CFLAGS)) 
 
 # NB. awk invocation is a portable alternative to 'head -n -1'