remove compile error if the program path has blank space.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@208 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
822b1c164b
commit
6797e5a0b0
|
@ -42,7 +42,7 @@ if rtconfig.RT_USING_DFS:
|
||||||
src_drv += ['sdcard.c']
|
src_drv += ['sdcard.c']
|
||||||
|
|
||||||
if rtconfig.RT_USING_LWIP:
|
if rtconfig.RT_USING_LWIP:
|
||||||
src_drv += ['dm9000a.c']
|
src_drv += ['dm9000.c']
|
||||||
|
|
||||||
objs = objs + env.Object(src_bsp + src_drv)
|
objs = objs + env.Object(src_bsp + src_drv)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <netif/ethernetif.h>
|
#include <netif/ethernetif.h>
|
||||||
|
|
||||||
#include "dm9000a.h"
|
#include "dm9000.h"
|
||||||
|
|
||||||
// #define DM9000_DEBUG 1
|
// #define DM9000_DEBUG 1
|
||||||
#if DM9000_DEBUG
|
#if DM9000_DEBUG
|
||||||
|
|
|
@ -68,8 +68,8 @@ elif PLATFORM == 'armcc':
|
||||||
AFLAGS = DEVICE
|
AFLAGS = DEVICE
|
||||||
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-mini2440.map --ro-base 0x30000000 --entry Entry_Point --first Entry_Point'
|
LFLAGS = DEVICE + ' --info sizes --info totals --info unused --info veneers --list rtthread-mini2440.map --ro-base 0x30000000 --entry Entry_Point --first Entry_Point'
|
||||||
|
|
||||||
CFLAGS += ' -I' + EXEC_PATH + '/ARM/RV31/INC'
|
CFLAGS += ' -I"' + EXEC_PATH + '/ARM/RV31/INC"'
|
||||||
LFLAGS += ' --libpath ' + EXEC_PATH + '/ARM/RV31/LIB'
|
LFLAGS += ' --libpath "' + EXEC_PATH + '/ARM/RV31/LIB"'
|
||||||
|
|
||||||
EXEC_PATH += '/arm/bin40/'
|
EXEC_PATH += '/arm/bin40/'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue