summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-25 13:11:18 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-07-28 07:50:15 +0200
commit4516a5b7971403f6497e9ea0fe8a1401e6b26a87 (patch)
tree66840e281dd2f44cc22166286a211c2e21d0952a /spec/build/bsps
parentbsp/leon3: Make declarations conditional (diff)
downloadrtems-4516a5b7971403f6497e9ea0fe8a1401e6b26a87.tar.bz2
build: Export BSP base and family via pkg-config
This allows application and library build systems to derive option values from the BSP base and family names.
Diffstat (limited to 'spec/build/bsps')
-rw-r--r--spec/build/bsps/pkgconfig.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml
index e08c83fe27..afaffbbf0f 100644
--- a/spec/build/bsps/pkgconfig.yml
+++ b/spec/build/bsps/pkgconfig.yml
@@ -15,6 +15,8 @@ content: |
ABI_FLAGS=${ABI_FLAGS}
RTEMS_ARCH=${ARCH}
RTEMS_BSP=${BSP_NAME}
+ RTEMS_BSP_BASE=${BSP_BASE}
+ RTEMS_BSP_FAMILY=${BSP_FAMILY}
RTEMS_MAJOR=${__RTEMS_MAJOR__}
RTEMS_MINOR=${__RTEMS_MINOR__}
RTEMS_REVISION=${__RTEMS_REVISION__}