aboutsummaryrefslogtreecommitdiffstats
path: root/meta-xilinx-bsp
diff options
context:
space:
mode:
authorAlejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>2019-03-21 18:15:12 -0700
committerManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>2019-08-15 17:00:31 -0700
commita9c740945402504fedfe7d7c3024317951a11b58 (patch)
tree1f421e749a65db9b1e26bda9fbba9af20efda27d /meta-xilinx-bsp
parent5d7c5d2cc40c26ec6ddf1ec916ac326b7fb4021a (diff)
downloadmeta-xilinx-a9c740945402504fedfe7d7c3024317951a11b58.tar.gz
meta-xilinx-a9c740945402504fedfe7d7c3024317951a11b58.tar.bz2
meta-xilinx-a9c740945402504fedfe7d7c3024317951a11b58.zip
machine-xilinx-default.inc: Disable PIE (ASLR) for Microblaze
While enabling PIE does not produce build time errors AFAIC, for example: bash fails to return/exit properly when PIE is enabled. Given the fact that init code relies on bash to source scripts at boot time and such, booting hangs at init on microblaze targets. Disable PIE on SECURITY_CFLAGS/SECURITY_LDFLAGS for MB architecture Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com> Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp')
-rw-r--r--meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
index 3d927e7..2ffd5b2 100644
--- a/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
+++ b/meta-xilinx-bsp/conf/machine/include/machine-xilinx-default.inc
@@ -33,6 +33,11 @@ PREFERRED_PROVIDER_virtual/egl_mali400 = "libmali-xlnx"
PREFERRED_PROVIDER_virtual/libgl_mali400 = "mesa-gl"
PREFERRED_PROVIDER_virtual/mesa_mali400 = "mesa-gl"
+# microblaze does not get on with pie for reasons not looked into as yet
+GCCPIE_microblaze = ""
+GLIBCPIE_microblaze = ""
+SECURITY_CFLAGS_microblaze = ""
+SECURITY_LDFLAGS_microblaze = ""
XSERVER ?= " \
xserver-xorg \