Commit 5df914d5 authored by Luca Giordano's avatar Luca Giordano

Integrates testsuite examples

Corrects testsuite examples makefile for air filesystem

Refs: #112269

	new file:   air/examples/testsuites/sptests/spcontext01/Makefile-hc
	new file:   air/examples/testsuites/sptests/spcontext01/common/Makefile-hc
	new file:   air/examples/testsuites/sptests/spcontext01/p0/Makefile-hc
parent 17f9cd64
#
# 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