Commit 2b0095c1 authored by Maxime Perrotin's avatar Maxime Perrotin
parents 39405043 37bedd85
-- $Id: flt_mgmt.aadl 6713 2009-06-20 20:58:28Z lanarre $
-- Model of a basic flight management system, contributed by Irfan Hamid
package flight::mgmt
public
......
......@@ -9,14 +9,14 @@ CFLAGS +=-DGNAT_MAIN_STACKSPACE=100
# CFLAGS +=-DMAIN_USE_NETWORKING=1
SPECFLAGS =-B${RTEMS_MAKEFILE_PATH}/lib/ -specs=bsp_specs -qrtems
CFLAGS = $(CPU_CFLAGS)
CFLAGS = $(CPU_CFLAGS)
DEFINES += -D$(RTEMS_BSP)
CFLAGS += $(DEFINES)
GCC=$(CC)
# changed by ttsiodras: we dont want -mcpu=... stuff here!
# EXTRA_OBJS=$(C_OBJECTS) $(EXTERNAL_OBJECTS)
# EXTRA_OBJS=$(C_OBJECTS) $(EXTERNAL_OBJECTS)
EXTRA_OBJS=$(C_OBJECTS) $(filter-out -%, $(EXTERNAL_OBJECTS))
RTS= --RTS=$(shell $(CC) -print-multi-directory $(CFLAGS))
......
......@@ -32,7 +32,8 @@
project PolyORB_HI is
type Target_Type is
("NATIVE", "LEON_ORK", "LEON_GNAT", "ERC32", "MARTEOS", "GNAT_Runtime", "RTEMS");
("NATIVE", "LEON_ORK", "LEON_GNAT", "ERC32", "MARTEOS", "GNAT_Runtime",
"RTEMS");
Target : Target_Type := external ("TARGET", "NATIVE");
type Build_Type is ("Debug", "Release", "Analyzable");
......@@ -61,6 +62,9 @@ project PolyORB_HI is
--@WARNINGS_ARE_ERRORS@"-gnatfy", -- Style warnings
--@WARNINGS_ARE_ERRORS@"-gnatwe", -- Warnings are errors
"-gnatwG", -- Suppress warnings on unrecognized pragmas
"-gnatE", -- Dynamic elaboration checking mode enabled
-- XXX This is a work around, see issue #106 for details
"-gnat12" -- Ada 2012 mode
);
......@@ -187,7 +191,7 @@ project PolyORB_HI is
for Default_Switches ("ada") use ("-g");
end case;
when "Release" =>
when "Release" | "Analyzable" =>
null;
end case;
end Linker;
......
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