Commit 87277156 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Update flags needed to build AIR targets

parent 55e4c648
......@@ -44,6 +44,10 @@ configuration project AIR is
"-DRTEMS_POSIX",
"-DRTEMS412",
"-DGRLEON3",
"-ffunction-sections",
"-fdata-sections",
"-B/home/taste/air/air/install/libs/libprintf/",
"-B/home/taste/air/air/install/libs/libair/",
"-DLEON_RTEMS",
"-DLEON3",
"-DGAISLER",
......@@ -78,16 +82,26 @@ configuration project AIR is
("--pipe",
"-g",
"-B/home/taste/air/air/install/pos/rtems5/rtems5-install/sparc-rtems5/leon3/lib",
"-B/home/taste/air/air/install/libs/libprintf/",
"-B/home/taste/air/air/install/libs/libair/",
"-specs=bsp_specs",
"-qrtems",
"-lm",
-- "-L/opt/rtems-ada/lib/gcc/sparc-rtems5/7.3.0/leon3/adalib",
"-L/home/taste/tool-inst/include/ocarina/runtime/polyorb-hi-c/libs/leon-rtems4.12/",
"-ffunction-sections",
"-fdata-sections",
"-Wl,--gc-sections",
"-Wl,--wrap=printf",
"-Wl,--wrap=puts",
"-Wl,--wrap=putchar",
"-Wl,--start-group",
"-lrtemscpu",
"-lrtemsbsp",
"/home/taste/air/air/install/libs/libprintf/libprintf.a",
"/home/taste/air/air/install/libs/libair/libair.a",
"/home/taste/air/air/install/libs/imaspex/imaspex.a",
"-Wl,--end-group",
"-mcpu=leon3");
for Default_Switches ("Ada") use
("--pipe",
......
......@@ -101,6 +101,7 @@ project @_CAPITALIZE:Name_@_AIR is
"cheddar_types.hh",
"config.c",
"init.c",
"marshallers.c",
"config_leon3_drvmgr.c",
"config_leon4_n2x.c",
"grspw_api.c",
......
......@@ -66,7 +66,7 @@ void init_@_LOWER:Name_@()
extern void init_@_LOWER:Sync_RIs_Parent_@(void);
init_@_LOWER:Sync_RIs_Parent_@();
@@END_TABLE@@
puts ("[TASTE] Initialization completed for function @_Name_@");
puts ("[TASTE] Initialization completed for function @_Name_@");
}
}
@@-- For blackbox devices, don't generate the PI functions, they will be
......
Supports Markdown
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