summaryrefslogtreecommitdiffstats
path: root/configs/bsp.ref
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2017-01-06 19:14:06 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2017-01-06 19:14:06 +0100
commit7ae73e53fad51292ad214fc922961a7a84764fdd (patch)
treebe4b5da6be3fe3781d732f49bab0ba2beea0f9c9 /configs/bsp.ref
parent57d5032556777aa90848e95a6369409d62a7cfe4 (diff)
downloadDistroKit-7ae73e53fad51292ad214fc922961a7a84764fdd.tar.gz
DistroKit-7ae73e53fad51292ad214fc922961a7a84764fdd.tar.xz
configs: add options suggested by 'reason'
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Diffstat (limited to 'configs/bsp.ref')
-rw-r--r--configs/bsp.ref21
1 files changed, 21 insertions, 0 deletions
diff --git a/configs/bsp.ref b/configs/bsp.ref
new file mode 100644
index 0000000..153313d
--- /dev/null
+++ b/configs/bsp.ref
@@ -0,0 +1,21 @@
+includes:
+ - file: ptxdist.ref
+ptxdist_toolchain_hardening:
+ history:
+ ptxdist.ref:
+ description: >
+ All toolchain hardening options should be enabled.
+ analyzer: >
+ kconfig.PTXPlatformConfig().enabled
+ present:
+ - TARGET_HARDEN_BINDNOW
+ - TARGET_HARDEN_FORTIFY
+ - TARGET_HARDEN_PIE
+ - TARGET_HARDEN_RELRO
+ optional:
+ - '*'
+ absent:
+ - TARGET_HARDEN_STACK_NONE
+ absent:
+ - TARGET_HARDEN_PIE
+# vim: syntax=yaml