Commit 5e12490f authored by Daniel Silveira's avatar Daniel Silveira Committed by Luca Giordano

Merge branch 'air5-dev' of http://spass-git.gmv.es/spass_admin/esroscos_xky into air5-dev

Merge Luca with Daniel Stuff
parents 17f9cd64 b7bedd0d
#
# Makefile : AIR application Makefile
# Generated by AIR Configurator Tool v3.6
#
# AIR OS installation directories
export AIR_ROOT=/home/taste/work/development/esroscos_xky/air
export AIR_INSTALL=$(AIR_ROOT)/install
export AIR_PMK=$(AIR_INSTALL)/pmk
export AIR_POS=$(AIR_INSTALL)/pos
export AIR_LIBS=$(AIR_INSTALL)/libs
export AIR_TOOLS=$(AIR_INSTALL)/tools
# Makefile Include file
include $(AIR_ROOT)/Makefile.inc
# All
.PHONY : all
all:
make -C common -f Makefile-hc all
make -C p0 -f Makefile-hc all
make -C config -f Makefile-hc all
# Clean
.PHONY : clean
clean:
make -C common -f Makefile-hc clean
make -C config -f Makefile-hc clean
make -C p0 -f Makefile-hc clean
# Distclean
.PHONY : distclean
distclean: clean
make -C config -f Makefile-hc distclean
$(AIR_TOOLS)/configurator clean
#
# Makefile : Common : Shared Source files
# Generated by AIR Configurator Tool v3.6
#
TARGET_BUILD=build
# AIR Makefile Include file
include $(AIR_ROOT)/Makefile.inc
CSRCS=$(shell find ./ -type f -name '*.c')
CHDRS=$(shell find ./ -type f -name '*.h')
ASSRCS=$(shell find ./ -type f -name '*.S')
SOURCE_FILES=$(CSRCS) $(ASSRCS)
OBJECT_FILES=$(patsubst %.c,$(TARGET_BUILD)/%.o,\
$(patsubst %.S,$(TARGET_BUILD)/%.o,$(SOURCE_FILES)))
# built in libraries include files
TARGET_CPPFLAGS+=\
-I./\
-B./\
# All
.PHONY : all
all: $(OBJECT_FILES) $(CHDRS)
# Clean
.PHONY : clean
clean:
@($(RM) $(TARGET_BUILD))
# Distclean
.PHONY : distclean
distclean: clean
@($(RM) Makefile)
#
# Makefile : RTEMS5_PARTITION : Partition (Id: 1, Name: p0)
# Generated by AIR Configurator Tool v3.6
#
EXEC=p0.exe
PGM=$(EXEC)
# Optional managers required by the application, select between:
# Event Manager = event
# Message Queue Manager = msg
# Rate Monotonic Manager = rtmon
# Semaphore Manager = sem
# Timer manager = timer
# Extension Manager = ext
# IO Manager = io
MANAGERS=sem rtmon msg timer
# C source code and headers filenames used in the example
CSRCS=$(shell find ./ -type f -name '*.c')
CHDRS=$(shell find ./ -type f -name '*.h')
COBJS_=$(CSRCS:.c=.o)
COBJS=$(COBJS_:%=$(ARCH)/%) $(shell find ../common -type f -name '*.o')
# RTEMS Improvement RTEMS source code
RTEMS_USES_NEWLIB = no
# Example of assembly source code filenames that could be included
ASSRCS=$(shell find ./ -type f -name '*.S')
ASOBJS_=$(ASSRCS:.S=.o)
ASOBJS=$(ASOBJS_:%=$(ARCH)/%)
# libraries
LD_LIBS =\
$(AIR_LIBS)/libprintf/libprintf.a\
$(AIR_LIBS)/libair/libair.a\
# The RTEMS_MAKEFILE_PATH is defined by the user for the specific CPU and BSP
RTEMS_MAKEFILE_PATH=$(AIR_POS)/rtems5/rtems5-install/sparc-rtems5/leon3
# These includes should not be modified by the user.
include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg
# built in libraries include files
CPPFLAGS+=\
-I./\
-B./\
-I../common/\
-B../common/\
-B$(AIR_LIBS)/libprintf/\
-B$(AIR_LIBS)/libair/
OBJS = $(COBJS) $(ASOBJS)
all: $(ARCH) $(PGM)
$(PGM): $(OBJS) $(CHDRS)
$(make-exe)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment