-
Notifications
You must be signed in to change notification settings - Fork 0
/
rts.gpr
30 lines (24 loc) · 871 Bytes
/
rts.gpr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
with "target_options.gpr";
project RTS is
for Target use "avr-elf";
for Languages use ("Ada");
for Runtime ("Ada") use "rts";
for Library_Name use "gnat";
for Library_Kind use "static";
for Library_Dir use "rts/adalib";
for Library_Auto_Init use "False";
for Source_Dirs use ("rts/adainclude");
for Object_Dir use "obj/" & Target_Options.Build &
"/" & Project'Library_Name;
package Compiler is
for Default_Switches ("Ada") use Target_Options.ALL_ADA_FLAGS &
("-gnatg");
for Switches ("system.ads") use Compiler'Default_Switches ("Ada") &
("-gnateT=" & Project'Project_Dir &
"/rts/" & Target_Options.Board & ".txt") &
("-gnatet=" & Target_Options.Board & ".txt");
end Compiler;
package Binder is
for Switches ("Ada") use Target_Options.BINDER_FLAGS;
end Binder;
end RTS;