From dee868dc9cc44df27e462c73b8f048a6625af967 Mon Sep 17 00:00:00 2001 From: zyh Date: Sun, 2 Sep 2018 12:15:39 +0800 Subject: [PATCH] [Bsp][qemu-vexpress-gemini]fix build error with gcc --- .travis.yml | 1 + bsp/qemu-vexpress-gemini/SConstruct | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b191ae213c..9667dd1ee7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -60,6 +60,7 @@ env: # - RTT_BSP='nios_ii' # no scons # - RTT_BSP='pic32ethernet' # no scons - RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm' + - RTT_BSP='qemu-vexpress-gemini' RTT_TOOL_CHAIN='sourcery-arm' - RTT_BSP='sam7x' RTT_TOOL_CHAIN='sourcery-arm' # - RTT_BSP='simulator' # x86 - RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm' diff --git a/bsp/qemu-vexpress-gemini/SConstruct b/bsp/qemu-vexpress-gemini/SConstruct index 84e4a83c6b..6fa1553e4d 100644 --- a/bsp/qemu-vexpress-gemini/SConstruct +++ b/bsp/qemu-vexpress-gemini/SConstruct @@ -5,7 +5,7 @@ import rtconfig if os.getenv('RTT_ROOT'): RTT_ROOT = os.getenv('RTT_ROOT') else: - RTT_ROOT = os.path.normpath(os.getcwd() + '/rt-thread') + RTT_ROOT = os.path.normpath(os.getcwd() + '/../..') sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')] from building import *