Changeset 821 for soft/giet_vm/applications/rosenfeld/nrc2/Makefile
- Timestamp:
- May 6, 2016, 3:06:29 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/rosenfeld/nrc2/Makefile
r798 r821 7 7 8 8 # -- File list ---------- 9 FILE = nralloc1.c, nralloc2.c, nralloc2x.c, nrarith0.c, nrarith1.c, nrarith2.c, nrarith2x.c, nrbool1.c, nrbool2.c, nrhisto.c, nrio0.c, nrio1.c, nrio2.c, nr kernel.c, nrlinalg.c, nrlut.c, nrmem1.c, nrmem1x.c, nrmem2.c, nrmem2x.c, nrset1.c, nrset2.c, nrset2x.c, nrsort1.c, nrsort2.c, nrwrap1.c, nrwrap2.c9 FILE = nralloc1.c, nralloc2.c, nralloc2x.c, nrarith0.c, nrarith1.c, nrarith2.c, nrarith2x.c, nrbool1.c, nrbool2.c, nrhisto.c, nrio0.c, nrio1.c, nrio2.c, nrlinalg.c, nrlut.c, nrmem1.c, nrmem1x.c, nrmem2.c, nrmem2x.c, nrset1.c, nrset2.c, nrset2x.c, nrsort1.c, nrsort2.c, nrwrap1.c, nrwrap2.c 10 10 11 11 12 TARGET ?= linux 12 13 13 14 # -- Paths ---------- … … 15 16 OBJ_PATH = obj 16 17 INC_PATH = include 18 19 ifeq ($(TARGET),giet-vm) 20 21 CC = mipsel-unknown-elf-gcc 22 AR = mipsel-unknown-elf-ar 23 RANLIB = mipsel-unknown-elf-ranlib 24 AS = mipsel-unknown-elf-as 25 OD = mipsel-unknown-elf-objdump 26 OCPY = mipsel-unknown-elf-objcopy 27 LD = mipsel-unknown-elf-ld 28 NM = mipsel-unknown-elf-nm 17 29 18 30 … … 22 34 C_CONFIG_FLAGS = -DCLI 23 35 C_INC_FLAGS = -I$(INC_PATH) -I../../.. -I../../../giet_libs 36 CFLAGSCPU := -mips32 -EL -G0 -mhard-float 37 38 endif 39 40 ifeq ($(TARGET),linux) 41 42 CC = gcc 43 LD = gcc 44 AR = ar 45 RANLIB = ranlib 46 47 C_DEBUG_FLAGS = -O0 48 C_OPTIMISATION_FLAGS = -std=c99 -O2 -fstrict-aliasing 49 C_OS_FLAGS = -DGTODay -DTARGET_OS=LINUX 50 C_CONFIG_FLAGS = -DCLI 51 C_INC_FLAGS = -I$(INC_PATH) 52 53 endif 54 24 55 25 56 # -- Flags ---------- … … 30 61 # CC tools and parameters 31 62 #------------------------------------------------------------------------------ 32 CC = mipsel-unknown-elf-gcc33 AR = mipsel-unknown-elf-ar -cr34 RANLIB = mipsel-unknown-elf-ranlib35 AS = mipsel-unknown-elf-as36 OD = mipsel-unknown-elf-objdump37 OCPY = mipsel-unknown-elf-objcopy38 LD = mipsel-unknown-elf-ld39 NM = mipsel-unknown-elf-nm40 63 41 64 CFLAGSW := -Wredundant-decls -Wdisabled-optimization -Winline -Wpointer-arith -Wsign-compare -Wendif-labels 42 CFLAGSCPU := -mips32 -EL -G0 -mhard-float43 65 CFLAGS := $(CFLAGS) -g -Wall -fomit-frame-pointer $(CFLAGSW) $(CFLAGSCPU) -fno-builtin -ffreestanding 44 66 … … 55 77 56 78 $(PRODUCT): $(OBJS) 57 $(AR) $@ $^79 $(AR) -cr $@ $^ 58 80 $(RANLIB) $@ 59 81
Note: See TracChangeset
for help on using the changeset viewer.