You've already forked Ada_Drivers_Library
mirror of
https://github.com/AdaCore/Ada_Drivers_Library.git
synced 2026-02-12 12:26:55 -08:00
The name services seems to be confusing so I propose to rename it to middleware. Although the middleware word is quite overloaded in software development, I think the signification is clear enough for this project. Also it's the word use by ST for in STM32Cube to hold USB stack, network stack, filesystems, audio tools, which coresponds with the definition of what was is currently called services.
31 lines
744 B
Plaintext
31 lines
744 B
Plaintext
with "../hal/HAL";
|
|
with "config";
|
|
|
|
library project Middleware is
|
|
|
|
Src_Dirs := ("src/filesystems",
|
|
"src/BLE",
|
|
"src/utils",
|
|
"src/audio",
|
|
"src/bitmap");
|
|
|
|
case Config.RTS is
|
|
when "ravenscar-sfp" | "ravenscar-full" =>
|
|
Src_Dirs := Src_Dirs & ("src/ravenscar-common");
|
|
when others =>
|
|
null;
|
|
end case;
|
|
|
|
for Source_Dirs use Src_Dirs;
|
|
|
|
for Languages use ("Ada");
|
|
for Library_Name use "services";
|
|
for Library_Kind use "static";
|
|
for Library_Dir use "lib/" & Config.Object_Subdir;
|
|
for Object_Dir use "obj/" & Config.Object_Subdir;
|
|
|
|
package Compiler renames Config.Compiler;
|
|
package Builder renames Config.Builder;
|
|
|
|
end Middleware;
|