Ignore:
Timestamp:
Jul 3, 2015, 12:15:08 PM (9 years ago)
Author:
guerin
Message:

ocean: fix compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/ocean/Makefile.config.giet

    r581 r584  
    33# Default plateform architecture and default CPU
    44#------------------------------------------------------------------------------
    5 CPU         = mipsel
    6 CCTOOLS     = /opt/mipsel-toolchain
    75GIET_DISTRIB= $(PWD)/../..
    86
     
    1210DIR_INC  = $(GIET_DISTRIB)/giet_libs
    1311DIR_LIB  = $(GIET_DISTRIB)/build/libs
    14 GCC_LIB  = $(CCTOOLS)/lib
    15 CC       = $(CCTOOLS)/bin/$(CPU)-unknown-elf-gcc
    16 AR       = $(CCTOOLS)/bin/$(CPU)-unknown-elf-ar
    17 AS       = $(CCTOOLS)/bin/$(CPU)-unknown-elf-as
    18 OD       = $(CCTOOLS)/bin/$(CPU)-unknown-elf-objdump
    19 OCPY     = $(CCTOOLS)/bin/$(CPU)-unknown-elf-objcopy
    20 LD       = $(CCTOOLS)/bin/$(CPU)-unknown-elfld
    21 NM       = $(CCTOOLS)/bin/$(CPU)-unknown-elf-nm
    2212
    2313OBJ=$(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
     
    3929endif
    4030
    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)
     31LDFLAGS := $(LDFLAGS) -L$(DIR_LIB) $(CPU-LFLAGS) -T$(LDSCRIPT) -lmath $(OBJ) $(ADD-LIBS)
    4432
    4533
     
    5240ifeq ($(OBJS),)
    5341        $(error *** Error: Variable OBJS must be defined before calling Makefile.config)
    54 endif
    55 
    56 ifneq ($(CPU),mipsel)
    57         $(error *** Error: Variable CPU must be equal to \'mipsel\' when calling this Makefile)
    5842endif
    5943
Note: See TracChangeset for help on using the changeset viewer.