Lines Matching +full:- +full:- +full:build
1 ### Makefile to build the FreeRTOS library ###
3 # Build target (options: sim, board)
10 CC = xt-xcc
11 AS = xt-xcc
12 AR = xt-ar
13 XT_CORE = $(patsubst %-params,%,$(notdir $(shell xt-xcc --show-config=core)))
14 CONFIGDIR = $(shell xt-xcc --show-config=config)
16 # For platform-specific commands
20 # Source code and build locations
24 BLDROOT = $(TSTROOT)$(S)build
50 # Build options
53 DFLAGS = -DXT_SIMULATOR
56 DFLAGS = -DXT_BOARD
60 -I$(FR_SRCDIR)$(S)..$(S)include -I$(FR_SRCDIR)$(S)..$(S)include$(S)private \
61 -I$(XT_SRCDIR) -I$(TSTROOT)$(S)common$(S)config_files -I$(BLDDIR)
63 CFLAGS = -O2 -g
64 CCFLAGS = $(CFLAGS) -Wall -mno-coproc -mlongcalls -ffunction-sections -mno-l32r-flix $(DFLAGS)
67 # Include dependency rules (generated using -MD)
69 -include $(wildcard $(BLDDIR)/*.d)
80 -$(CP) $(CONFIGDIR)/xtensa-elf/include/sys/reent.h $(BLDDIR)/reent.h
83 $(AR) -rs $@ $^
86 $(CC) $(CCFLAGS) $(IFLAGS) -MD -MF $(subst .o,.d,$@) -c -o $@ $<
89 $(CC) $(ASFLAGS) $(IFLAGS) -MD -MF $(subst .o,.d,$@) -c -o $@ $<