From: Bertrand Marquis Date: Tue, 16 Jun 2020 08:31:26 +0000 (+0200) Subject: x86/boot: use BASEDIR for include path X-Git-Tag: 4.14.0-rc3~16 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=3625b04991b4d6affadd99d377ab84bac48dfff4;p=people%2Fjgross%2Fxen.git x86/boot: use BASEDIR for include path 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 Acked-by: Andrew Cooper Release-acked-by: Paul Durrant --- diff --git a/xen/arch/x86/boot/build32.mk b/xen/arch/x86/boot/build32.mk index 5851ebff5f..8cd5403926 100644 --- a/xen/arch/x86/boot/build32.mk +++ b/xen/arch/x86/boot/build32.mk @@ -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'