Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] mdadm: fix build on qemumips64
@ 2014-01-26  9:14 Robert Yang
  2014-01-26  9:14 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2014-01-26  9:14 UTC (permalink / raw)
  To: openembedded-core

The following changes since commit 758df2bb0c10055f29a9709c4db7c324222bf7c8:

  bitbake:cache.py: remove the add() (2014-01-26 14:31:58 +0800)

are available in the git repository at:

  git://git.pokylinux.org/poky-contrib rbt/mdadm
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/mdadm

Robert Yang (1):
  mdadm: fix build on qemumips64

 meta/recipes-extended/mdadm/mdadm_3.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
1.8.3.1



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH 1/1] mdadm: fix build on qemumips64
  2014-01-26  9:14 [PATCH 0/1] mdadm: fix build on qemumips64 Robert Yang
@ 2014-01-26  9:14 ` Robert Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2014-01-26  9:14 UTC (permalink / raw)
  To: openembedded-core

The mips64 uses long long for u64 in the kernel, but powerpc's asm/types.h
prevents 64-bit userland from seeing this definition, instead defaulting to u64
== long in userspace. Define __SANE_USERSPACE_TYPES__ to get int-ll64.h
included.

We had a similar fix on ppc64, use it for mips64 will fix the problem.

[YOCTO #5758]

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 meta/recipes-extended/mdadm/mdadm_3.3.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-extended/mdadm/mdadm_3.3.bb b/meta/recipes-extended/mdadm/mdadm_3.3.bb
index cfb9ccd..596b04d 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.3.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.3.bb
@@ -25,11 +25,12 @@ do_configure_prepend () {
 }
 
 EXTRA_OEMAKE = "CHECK_RUN_DIR=0"
-# PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
+# PPC64 and MIPS64 uses long long for u64 in the kernel, but powerpc's asm/types.h
 # prevents 64-bit userland from seeing this definition, instead defaulting
 # to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get
 # int-ll64.h included
 EXTRA_OEMAKE_append_powerpc64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
+EXTRA_OEMAKE_append_mips64 = ' CFLAGS=-D__SANE_USERSPACE_TYPES__'
 
 do_compile() {
 	oe_runmake
-- 
1.8.3.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-26  9:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-26  9:14 [PATCH 0/1] mdadm: fix build on qemumips64 Robert Yang
2014-01-26  9:14 ` [PATCH 1/1] " Robert Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox