Changeset 584 for soft/giet_vm
- Timestamp:
- Jul 3, 2015, 12:15:08 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/ocean/Makefile.config.giet
r581 r584 3 3 # Default plateform architecture and default CPU 4 4 #------------------------------------------------------------------------------ 5 CPU = mipsel6 CCTOOLS = /opt/mipsel-toolchain7 5 GIET_DISTRIB= $(PWD)/../.. 8 6 … … 12 10 DIR_INC = $(GIET_DISTRIB)/giet_libs 13 11 DIR_LIB = $(GIET_DISTRIB)/build/libs 14 GCC_LIB = $(CCTOOLS)/lib15 CC = $(CCTOOLS)/bin/$(CPU)-unknown-elf-gcc16 AR = $(CCTOOLS)/bin/$(CPU)-unknown-elf-ar17 AS = $(CCTOOLS)/bin/$(CPU)-unknown-elf-as18 OD = $(CCTOOLS)/bin/$(CPU)-unknown-elf-objdump19 OCPY = $(CCTOOLS)/bin/$(CPU)-unknown-elf-objcopy20 LD = $(CCTOOLS)/bin/$(CPU)-unknown-elfld21 NM = $(CCTOOLS)/bin/$(CPU)-unknown-elf-nm22 12 23 13 OBJ=$(DIR_LIB)/malloc.o $(DIR_LIB)/stdio.o $(DIR_LIB)/user_barrier.o $(DIR_LIB)/user_lock.o $(DIR_LIB)/stdlib.o $(DIR_LIB)/user_sqt_lock.o … … 39 29 endif 40 30 41 #LDFLAGS := $(LDFLAGS) -L$(DIR_LIB) -L$(GCC_LIB) $(CPU-LFLAGS) -T$(LDSCRIPT) $(OBJ) $(ADD-LIBS) \ 42 # -lpthread -lgomp -lc $(ADD-LIBS) -lgomp -lpthread -lm -lc -lgcc --hash-style=sysv 43 LDFLAGS := $(LDFLAGS) -L$(DIR_LIB) -L$(GCC_LIB) $(CPU-LFLAGS) -T$(LDSCRIPT) -lmath $(OBJ) $(ADD-LIBS) 31 LDFLAGS := $(LDFLAGS) -L$(DIR_LIB) $(CPU-LFLAGS) -T$(LDSCRIPT) -lmath $(OBJ) $(ADD-LIBS) 44 32 45 33 … … 52 40 ifeq ($(OBJS),) 53 41 $(error *** Error: Variable OBJS must be defined before calling Makefile.config) 54 endif55 56 ifneq ($(CPU),mipsel)57 $(error *** Error: Variable CPU must be equal to \'mipsel\' when calling this Makefile)58 42 endif 59 43
Note: See TracChangeset
for help on using the changeset viewer.