diff options
Diffstat (limited to '')
-rw-r--r-- | spec/build/bsps/pkgconfig.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/build/bsps/pkgconfig.yml b/spec/build/bsps/pkgconfig.yml new file mode 100644 index 0000000000..6240ce7ab0 --- /dev/null +++ b/spec/build/bsps/pkgconfig.yml @@ -0,0 +1,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: -L$${libdir} ${PKGCONFIG_LDFLAGS} + Libs: -L$${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 |