Changing recipe files
Hi all,
I'm working on build gdb-cross for the AVR32. In the process, I've figured out I need to modify the do_stage() function in gdb-cross.inc. I need to touch some files to prevent "oe_runmake install" from wanting to run makeinfo (ah, my old nemesis makeinfo) since makeinfo is a native makeinfo is not available in the OE build environment.
For whatever reason, though, the system doesn't seem to pick up my change. I've tried running "bitbake -c rebuild gdb-cross". I've tried bumping up the PR value in recipe file. I've tried wiping out the work directory for gdb-cross. Still doesn't want to use my modified version of do_stage(). Every time I look in the run.do_stage.xxxxx it's the old version of do_stage(). I figure I could wipe out my entire build tree and the change would be caught, but I don't want to wait 2.5 hours to rebuild everything.
What is the magic incantation for my change to take effect?
TIA,
---
Geoffrey
Quoted 7 lines · Geoffrey Wossum
For whatever reason, though, the system doesn't seem to pick up my change. I've tried running "bitbake -c rebuild gdb-cross". I've tried bumping up the PR value in recipe file. I've tried wiping out the work directory for gdb-cross. Still doesn't want to use my modified version of
do_stage(). Every time I look in the run.do_stage.xxxxx it's the old version ofdo_stage(). I figure I could wipe out my entire build tree and the change would be caught, but I don't want to wait 2.5 hours to rebuild everything.
Normally, it's sufficient to call bitbake or even only temp/run.do_* again. If you need to call again succeeded step, you need to remove relevant stamp from tmp/stamps (or completely wipe out package build directory and all package stamps).
Quoted 1 line
What is the magic incantation for my change to take effect?
But in Friday I failed using this way for unknown reason. After wiping entire build tree, it works again as expected.
Signature · 2 lines
Stanislav Brabec http://www.penguin.cz/~utx/zaurus