[meta-mentor] [PATCH 1/1] Install 32-bit version of libncurses5 when needed
Drew Moseley
drew_moseley at mentor.com
Thu May 30 15:01:06 PDT 2013
Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
---
scripts/setup-ubuntu | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/setup-ubuntu b/scripts/setup-ubuntu
index 6ec98cd..1908ac8 100755
--- a/scripts/setup-ubuntu
+++ b/scripts/setup-ubuntu
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# Copyright 2007-2012 Mentor Graphics Corporation
+# Copyright 2007-2013 Mentor Graphics Corporation
#
# This file is licensed under the terms of the GNU General Public License
# version 2. This program is licensed "as is" without any warranty of any
@@ -17,6 +17,9 @@ PKGS="$PKGS ubuntu-minimal ubuntu-standard make gcc g++ patch diffstat texinfo t
# These are needed for the qemu-native build
PKGS="$PKGS libgl1-mesa-dev libglu1-mesa-dev libsdl1.2-dev"
+# Install 32-bit compatibility libraries for gdb
+[ "$(uname -m)" = "x86_64" ] && PKGS="$PKGS libncurses5:i386"
+
echo "Installing packages required to build Mentor Embedded Linux"
sudo apt-get -y install $PKGS
--
1.7.9.5
More information about the meta-mentor
mailing list