mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-22 14:36:15 +02:00
don't have .cpp file.
This commit is contained in:
parent
f7c651790c
commit
e5ece9bb31
@ -29,10 +29,9 @@ DEBUG_CFLAGS = -g -Wa,-a=$(basename $@).lst
|
|||||||
# registers work. Since other register accesses might be affected too it seems the best
|
# registers work. Since other register accesses might be affected too it seems the best
|
||||||
# is to disable this optimization right now.
|
# is to disable this optimization right now.
|
||||||
CFLAGS = -mips32 -O2 -fno-exceptions -fno-zero-initialized-in-bss \
|
CFLAGS = -mips32 -O2 -fno-exceptions -fno-zero-initialized-in-bss \
|
||||||
-ffunction-sections -fomit-frame-pointer -msoft-float -G 0 $(DEBUG_CFLAGS) \
|
-ffunction-sections -fomit-frame-pointer -msoft-float -G 0 -fpie \
|
||||||
-I$(XBURST_INCLUDE_PATH) -I$(INFLASH_SRC_PATH)
|
-I$(XBURST_INCLUDE_PATH) -I$(INFLASH_SRC_PATH)
|
||||||
LDFLAGS = -nostdlib -T target.ld $(CFLAGS)
|
LDFLAGS = -nostdlib -T target.ld $(CFLAGS)
|
||||||
LIBS = -lstdc++ -lc -lm -lgcc
|
|
||||||
|
|
||||||
OBJS = main.o udc.o cache.o serial.o boothandler.o nandflash_4740.o nandflash_4750.o
|
OBJS = main.o udc.o cache.o serial.o boothandler.o nandflash_4740.o nandflash_4750.o
|
||||||
|
|
||||||
@ -47,8 +46,6 @@ xburst_stage2.elf: head.o $(OBJS)
|
|||||||
|
|
||||||
.c.o:
|
.c.o:
|
||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
.cpp.o:
|
|
||||||
$(CC) $(CFLAGS) -fno-rtti -fvtable-gc -o $@ -c $<
|
|
||||||
.S.o:
|
.S.o:
|
||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user