Bug 2402

Summary: Add remake-native and remake
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Robert Yang <liezhi.yang>
Component: devtools / tool chainAssignee: Wenzong.Fan <wenzong.fan>
Status: VERIFIED FIXED QA Contact:
Severity: enhancement    
Priority: Low CC: liang.li2, mark.hatle, meta.mr.watcher, meta.watcher, sgw, song.liu, zhenfeng.zhao
Version: 1.3   
Target Milestone: 1.3 M3   
Hardware: x86   
OS: Multiple   
Whiteboard: (P3)(QA Testing Completed)(Done)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Robert Yang 2012-05-03 07:59:32 UTC
remake is a patched version of GNU Make that adds improved error reporting, the ability to trace execution in a comprehensible way, and a debugger.

I think that we may add and use it to replace the host's make which we currently use, which would make the debug of building error easier.

More info:
http://bashdb.sourceforge.net/remake/
Comment 1 Wenzong.Fan 2012-07-19 06:58:50 UTC
remake is not found from oe upstream, just add it form original source.

Source code at: 
    git://github.com/rocky/remake.git

Recipes/patches will be put to: 
    meta/recipes-devtools/remake/

Except for basic recipe infos, also add following:
  PROVIDES += "make"

  inherit update-alternatives

  ALTERNATIVE_${PN} = "make"
  ALTERNATIVE_LINK_NAME[make] = "${bindir}/make"
  ALTERNATIVE_TARGET[make] = "${bindir}/remake"
  ALTERNATIVE_PRIORITY = "100"
Comment 3 liang li 2012-07-31 03:56:22 UTC
no error after steps below:
1. set build enverionment.
2. run "bitbake remake".
3. run "bitbake remake-native"

git info: bd726660a3b365b8f0f702771afef30dcd05b6d7
git branch : poky/master

test env:
host :ubuntu 12.04 
kernel :3.2.0-27-generic #43-Ubuntu SMP