Ignore:
Timestamp:
Jul 13, 2017, 11:01:58 AM (7 years ago)
Author:
meunier
Message:
  • Mise à jour NR2 et Rosenfeld
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/applications/rosenfeld/Makefile

    r823 r826  
    1313ifeq ($(TARGET),giet-vm)
    1414
     15CC      = mipsel-unknown-elf-gcc
     16LD      = mipsel-unknown-elf-ld
     17
    1518C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing
    16 C_OS_FLAGS = -DGTODay -DTARGET_OS=GIETVM
    17 C_CONFIG_FLAGS = -DCLI
     19C_OS_FLAGS = -DTARGET_OS=GIETVM
     20C_CONFIG_FLAGS = -static-libgcc -lgcc
    1821C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include -I../.. -I../../giet_libs -I../../giet_xml/
    1922CFLAGSCPU = -mips32 -EL -G0 -mhard-float -fomit-frame-pointer -fno-builtin -ffreestanding
    2023
    21 LDFLAGS = -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath --end-group
     24GCC_LIB = -L$(shell $(CC) -print-libgcc-file-name | sed 's/libgcc.a//')
     25LDFLAGS = $(GCC_LIB) -Lnrc2 -L../../build/libs -Trosenfeld.ld --start-group -lnrc2x -luser -lmath -lgcc --end-group
    2226
    2327endif
     
    3034# -- Config ----------
    3135C_OPTIM_FLAGS = -std=c99 -O2 -fstrict-aliasing
    32 C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX -D_GNU_SOURCE
    33 C_CONFIG_FLAGS = -DCLI
     36C_OS_FLAGS = -DTARGET_OS=LINUX -D_GNU_SOURCE
     37C_CONFIG_FLAGS =
    3438C_INC_FLAGS = -I$(INC_PATH) -Inrc2/include
    3539CFLAGSCPU =
     
    6266
    6367
    64 all: nrclib $(APP_NAME)
     68all: objdir nrclib $(APP_NAME)
     69
     70objdir:
     71        mkdir -p $(OBJ_PATH)
    6572
    6673nrclib:
Note: See TracChangeset for help on using the changeset viewer.