Patchwork [meta-fsl-ppc] enable multilib for e5500/e5500-64b/e6500/e6500-64b

login
register
mail settings
Submitter Ting Liu
Date July 22, 2014, 9:52 a.m.
Message ID <1406022777-19535-1-git-send-email-ting.liu@freescale.com>
Download mbox | patch
Permalink /patch/76337/
State Superseded
Headers show

Comments

Ting Liu - July 22, 2014, 9:52 a.m.
From: Ting Liu <ting.liu@freescale.com>

enable multilib by default as it is needed:
* for e5500-64b/e6500-64b, 32bit toolchain is need to build u-boot
* for e6500, only 64bit kernel is supported

Signed-off-by: Ting Liu <ting.liu@freescale.com>
---
 conf/machine/include/e5500-64b.inc | 5 +++++
 conf/machine/include/e5500.inc     | 5 +++++
 conf/machine/include/e6500-64b.inc | 5 +++++
 conf/machine/include/e6500.inc     | 4 ++++
 4 files changed, 19 insertions(+)

Patch

diff --git a/conf/machine/include/e5500-64b.inc b/conf/machine/include/e5500-64b.inc
index 5c75883..07e6274 100644
--- a/conf/machine/include/e5500-64b.inc
+++ b/conf/machine/include/e5500-64b.inc
@@ -5,3 +5,8 @@  require conf/machine/include/tune-ppce5500.inc
 require conf/machine/include/qoriq-base.inc
 
 MACHINEOVERRIDES .= ":e5500-64b"
+
+require conf/multilib.conf
+MULTILIBS = "multilib:lib32"
+DEFAULTTUNE_virtclass-multilib-lib32 = "ppce5500"
+
diff --git a/conf/machine/include/e5500.inc b/conf/machine/include/e5500.inc
index 88f6d06..c8b1673 100644
--- a/conf/machine/include/e5500.inc
+++ b/conf/machine/include/e5500.inc
@@ -4,3 +4,8 @@  require conf/machine/include/tune-ppce5500.inc
 require conf/machine/include/qoriq-base.inc
 
 MACHINEOVERRIDES .= ":e5500"
+
+require conf/multilib.conf
+MULTILIBS = "multilib:lib64"
+DEFAULTTUNE_virtclass-multilib-lib64 = "ppc64e5500"
+
diff --git a/conf/machine/include/e6500-64b.inc b/conf/machine/include/e6500-64b.inc
index 5e533e0..aa722a5 100644
--- a/conf/machine/include/e6500-64b.inc
+++ b/conf/machine/include/e6500-64b.inc
@@ -5,3 +5,8 @@  require conf/machine/include/tune-ppce6500.inc
 require conf/machine/include/qoriq-base.inc
 
 MACHINEOVERRIDES .= ":e6500-64b"
+
+require conf/multilib.conf
+MULTILIBS = "multilib:lib32"
+DEFAULTTUNE_virtclass-multilib-lib32 = "ppce6500"
+
diff --git a/conf/machine/include/e6500.inc b/conf/machine/include/e6500.inc
index 5ebeccf..e6848bd 100644
--- a/conf/machine/include/e6500.inc
+++ b/conf/machine/include/e6500.inc
@@ -7,3 +7,7 @@  MACHINEOVERRIDES .= ":e6500"
 
 BUILD_64BIT_KERNEL = "1"
 
+require conf/multilib.conf
+MULTILIBS = "multilib:lib64"
+DEFAULTTUNE_virtclass-multilib-lib64 = "ppc64e6500"
+