summaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-08-31 14:05:58 -0400
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2018-08-31 23:05:07 +0000
commit8e124034d9279a0caaac6852abdcb7bfde326c5a (patch)
tree1aa73c8f17e84bc3cca542931b1648b3f02417eb /meta-agl-bsp/meta-ti
parent5ad0538d20ca8f66af9f94cb63b10b303f6277cb (diff)
meta-agl-bsp: meta-ti: amx3-cm3: Add a fix for security_flags.inc
The way that the PM firmware for these devices is built takes very specific steps to only get the cross-compiler provided by OE and almost nothing else. Unfortunately when we build with the security_flags.inc file in our distro this changes some of the default behavior of the compiler and in turn we need to make sure to disable this and go back to the default behavior. Change-Id: I1ab8e20f77d7ab6a3c786437e9a9422b24f0e159 Bug-AGL: SPEC-1341 Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'meta-agl-bsp/meta-ti')
-rw-r--r--meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend b/meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend
new file mode 100644
index 000000000..1fc5130f0
--- /dev/null
+++ b/meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend
@@ -0,0 +1,3 @@
+# We need to override some of the build in defaults and the recipe is very
+# strict in how it grabs the correct compiler. Pass in our override here.
+TOOLCHAIN_OPTIONS += "${SECURITY_NOPIE_CFLAGS}"