Files
rtems/spec/build/bsps/pkgconfig.yml
Sebastian Huber 2b1a4ac84f build: Fix linker path
Use -B for the linker since some architectures use extra start files defined by
the GCC specification and provided by the BSP, for example powerpc.  Start
files are not found by -L.

In the long run, the GCC defined start files should be provided by GCC.  This
is a GCC 11 topic.

Update #3818
2020-09-20 17:32:10 +02:00

35 lines
1.0 KiB
YAML

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