This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Building cmem with meta-ti recipe for DM3730

Other Parts Discussed in Thread: DM3730

I'm working with a DM3730 device (gumstix overo) using the Dizzy release of yocto, and I'm trying to use one of the recipes in meta-ti to build the cmem kernel module.

There seems to be two possible recipes for this: ti-linuxutils and cmem-mod.  Both seem to have different problems when building them.

Is there a cmem recipe in meta-ti which works with dizzy and a 3.17 kernel?

With the ti-linuxutils recipe, there is an issue which seems to show that -mfloat=abi-hard is ignored, and __ARM_PCS_VFP is not defined:

| /home/chris/yocto/build/tmp/sysroots/overo/usr/include/gnu/stubs.h:7:29:
fatal error: gnu/stubs-soft.h: No such file or directory
|  # include <gnu/stubs-soft.h>

With the cmem-mod recipe, I get an error during compile which makes it look like it's not using the arm gcc compiler.  Any suggestions on what I'm doing wrong here?

Early in the log, I see "CC=arm-poky-linux-gnueabi-gcc", but then later on...
|   CC [M]  /home/chris/yocto/build/tmp/work/overo-poky-linux-gnueabi/cmem-mod/git-b+gitrAUTOINC+0d2fac7187/git/src/cmem/module/cmemk.o
| cc1: error: unrecognized command line option '-mlittle-endian'
| cc1: error: unrecognized command line option '-mno-thumb-interwork'
| cc1: error: unrecognized command line option '-mfpu=vfp'
The full log is here: http://pastebin.com/bHxGgQGe
BB_VERSION        = "1.24.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS        = "arm-poky-linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "poky"
DISTRO_VERSION    = "1.7.1"
TUNE_FEATURES     = "arm armv7a vfp neon callconvention-hard cortexa8"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):2a3805a666e14f0c995f7622fe0eecbb1fb48932"
meta-gnome        
meta-oe           
meta-xfce         
meta-systemd      
meta-networking   
meta-multimedia   
meta-python       = "(nobranch):853dcfa0d618dc26bd27b3a1b49494b98d6eee97"
meta-gumstix      = "(nobranch):40ac3593fab75020431651e79cfa3ef5926bd1a6"
meta-gumstix-extras = "(nobranch):db157f15692eff0511b128e5c8241297e5582016"
meta-ros          = "(nobranch):224b15a0b06dc2f3d7d54f855845b14a6c479c1d"
meta-ti           = "master:b81014dbb5cc39fdfa66af87d18b72eb9eb3c701"