meta-agl-bsp: meta-ti: amx3-cm3: Add a fix for security_flags.inc 47/16447/2
authorTom Rini <trini@konsulko.com>
Fri, 31 Aug 2018 18:05:58 +0000 (14:05 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Fri, 31 Aug 2018 23:05:07 +0000 (23:05 +0000)
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>
meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend [new file with mode: 0644]

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 (file)
index 0000000..1fc5130
--- /dev/null
@@ -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}"