summaryrefslogtreecommitdiffstats
path: root/spec/build/bsps/makecustom.yml
diff options
context:
space:
mode:
authorKinsey Moore <kinsey.moore@oarcorp.com>2022-10-25 14:03:10 -0500
committerChris Johns <chrisj@rtems.org>2023-04-14 08:36:52 +1000
commit5a37722b066f5792aad80fb5b32fb3c056cf1607 (patch)
tree0af80afc7712c127bccdbd1447ae9af26511a2fe /spec/build/bsps/makecustom.yml
parentbsps/powerpc: Fix warnings with PPC_SPECIAL_PURPOSE_REGISTER (diff)
downloadrtems-5a37722b066f5792aad80fb5b32fb3c056cf1607.tar.bz2
spec/pkgconfig: Allow builds to override headers
This allows any builds targeting an installed RTEMS BSP to override headers in the installed BSP reliably, including headers previously installed by that or other builds. This includes applications, network stacks, libraries, and any other builds. Closes #4896
Diffstat (limited to 'spec/build/bsps/makecustom.yml')
-rw-r--r--spec/build/bsps/makecustom.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/build/bsps/makecustom.yml b/spec/build/bsps/makecustom.yml
index 139629b597..9f5f2f2e59 100644
--- a/spec/build/bsps/makecustom.yml
+++ b/spec/build/bsps/makecustom.yml
@@ -2,7 +2,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
build-type: config-file
content: |
include $$(RTEMS_ROOT)/make/custom/default.cfg
- CPU_DEFINES = -I$$(exec_prefix)/$$(RTEMS_BSP)/lib/include
+ CPU_DEFINES = -isystem$$(exec_prefix)/$$(RTEMS_BSP)/lib/include
CPU_CFLAGS = ${ABI_FLAGS}
CFLAGS_OPTIMIZE_V = ${OPTIMIZATION_FLAGS}
LDFLAGS = -B$$(exec_prefix)/$$(RTEMS_BSP)/lib ${PKGCONFIG_LDFLAGS}