Merge pull request #1764 from uestczyh222/qemu-vexpress-gemini
[Bsp][qemu-vexpress-gemini]fix build error with gcc
This commit is contained in:
commit
6dc45fbbc4
|
@ -62,6 +62,7 @@ env:
|
||||||
- RTT_BSP='nuvoton_m05x' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='nuvoton_m05x' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
# - RTT_BSP='pic32ethernet' # no scons
|
# - RTT_BSP='pic32ethernet' # no scons
|
||||||
- RTT_BSP='qemu-vexpress-a9' RTT_TOOL_CHAIN='sourcery-arm'
|
- 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='sam7x' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
# - RTT_BSP='simulator' # x86
|
# - RTT_BSP='simulator' # x86
|
||||||
- RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm'
|
- RTT_BSP='stm32f0x' RTT_TOOL_CHAIN='sourcery-arm'
|
||||||
|
|
|
@ -5,7 +5,7 @@ import rtconfig
|
||||||
if os.getenv('RTT_ROOT'):
|
if os.getenv('RTT_ROOT'):
|
||||||
RTT_ROOT = os.getenv('RTT_ROOT')
|
RTT_ROOT = os.getenv('RTT_ROOT')
|
||||||
else:
|
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')]
|
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
|
||||||
from building import *
|
from building import *
|
||||||
|
|
Loading…
Reference in New Issue