-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstm32f407_hal.gpr
More file actions
34 lines (26 loc) · 1.04 KB
/
stm32f407_hal.gpr
File metadata and controls
34 lines (26 loc) · 1.04 KB
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
31
32
33
34
with "config/stm32f407_hal_config.gpr";
with "runtime_build.gpr";
project Stm32f407_Hal is
for Target use runtime_build'Target;
for Runtime ("Ada") use runtime_build'Runtime ("Ada");
for Library_Name use "Stm32f407_Hal";
for Library_Version use
Project'Library_Name & ".so." & Stm32f407_Hal_Config.Crate_Version;
for Source_Dirs use ("src/**", "config/");
for Object_Dir use "obj/" & Stm32f407_Hal_Config.Build_Profile;
for Create_Missing_Dirs use "True";
for Library_Dir use "lib";
type Library_Type_Type is ("relocatable", "static", "static-pic");
Library_Type : Library_Type_Type :=
external ("STM32F407_HAL_LIBRARY_TYPE", external ("LIBRARY_TYPE", "static"));
for Library_Kind use Library_Type;
package Compiler is
for Default_Switches ("Ada") use Stm32f407_Hal_Config.Ada_Compiler_Switches;
end Compiler;
package Binder is
for Switches ("Ada") use ("-Es"); -- Symbolic traceback
end Binder;
package Install is
for Artifacts (".") use ("share");
end Install;
end Stm32f407_Hal;