summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/pkgconfig.yml
blob: a9462fcc95603a76b059bd3d8e99f8da0424376d (plain) (blame)
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
SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
  #
  # pkg-config support file for RTEMS BSP ${ARCH}/${BSP_NAME}
  #
  # Warning: This stuff is experimental and may be changed at any time.
  #

  prefix=${PREFIX}
  exec_prefix=$${prefix}/${ARCH}-rtems${__RTEMS_MAJOR__}
  libdir=$${exec_prefix}/${BSP_NAME}/lib
  includedir=$${libdir}/include

  ABI_FLAGS=${ABI_FLAGS}
  RTEMS_ARCH=${ARCH}
  RTEMS_BSP=${BSP_NAME}
  RTEMS_MAJOR=${__RTEMS_MAJOR__}
  RTEMS_MINOR=${__RTEMS_MINOR__}
  RTEMS_REVISION=${__RTEMS_REVISION__}

  Name: ${ARCH}-rtems${__RTEMS_MAJOR__}-${BSP_NAME}
  Version: ${RTEMS_VERSION}
  Description: RTEMS BSP ${ARCH}/${BSP_NAME}
  Cflags: $${ABI_FLAGS} -I$${includedir}
  Ldflags: -B$${libdir} ${PKGCONFIG_LDFLAGS}
  Libs: -B$${libdir} ${PKGCONFIG_LDFLAGS}
copyrights:
- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
enabled-by: true
install-path: ${PREFIX}/lib/pkgconfig
links: []
target: ${ARCH}-rtems${__RTEMS_MAJOR__}-${BSP_NAME}.pc
type: build