From 8e124034d9279a0caaac6852abdcb7bfde326c5a Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 31 Aug 2018 14:05:58 -0400 Subject: 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 --- meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 meta-agl-bsp/meta-ti/recipes-bsp/cm3-pm-firmware/amx3-cm3_git.bbappend 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}" -- cgit 1.2.3-korg