[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] x86/boot: use BASEDIR for include path


  • To: xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Bertrand Marquis <bertrand.marquis@xxxxxxx>
  • Date: Thu, 11 Jun 2020 12:54:14 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TZ2ChDTNRET6s9KJ+UND5sMicc5rHbMBhQiA5d/sSak=; b=dWDT/rIkSaC4YAuGezi8qy2hFMF0I2TbSrI0NxCM0jGr1M2PDvZ+hUxn+kOzLHukQzj0OJ291VWk7KdU1SLi0Bz+BaBErNbL+/UIhdTS/N8CRDxlFEHpj/dAF2qg+3Kater/mDXAaH1G7DCxW4M03PN14CKL4LmIcmo3P/MgoXTo4K/CmKhQT4NsK3rHwq+PY68T2OblB8Ya5Zsv5NhnnIKZBfRnP91TanngOkkY5V5rmJehI3keHTqpLjDyf82L2z+ApTtaJknvJM6eUUyqjdHsWfGbm102Kf1G8HRlzkZt1/OxwDrJD5V9PQwCrV0H7o83UC4eTWmA6YHu+Nxl+g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZQMYAGiyMHhW8SK1wBZYxHqt5qsvcZftngtz7doD3GWJubVXbqr3pqK198VfzeU8lY52MTC011rlqDu/LKDIzNhsZHU2jTL23gu+T+zVWMnycPZ4FuDHz34nIbzGaZ4F68HkTNek4d3OlUKSDHk0qAyo/oUZ17zPCz45HTvYZPFv7NFzAgyFmU9jXuC7SXpW3FUT3vAdow2HDZ2j/b91zbwO+b0+Sibr+AzaJXP0B6UfkscMnBkjOLZVONCjDU2qQF/ZXQ3HfAP6C3d1H+To8v31lSuYaY1idBuKqUO3qc/SJKUz93s6VVk2lbf8ovV06n8t9o7Iu5Bdghv1aYHzMQ==
  • Authentication-results-original: lists.xenproject.org; dkim=none (message not signed) header.d=none; lists.xenproject.org; dmarc=none action=none header.from=arm.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, nd@xxxxxxx, Wei Liu <wl@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
  • Delivery-date: Thu, 11 Jun 2020 11:54:46 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
  • Nodisclaimer: true
  • Original-authentication-results: lists.xenproject.org; dkim=none (message not signed) header.d=none;lists.xenproject.org; dmarc=none action=none header.from=arm.com;

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@xxxxxxx>
---
 xen/arch/x86/boot/build32.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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'
-- 
2.17.1




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.