Talk:Customizing the Openmoko Distribution

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(question about MokoMakefile modification)
(question about MokoMakefile modification: setup-env, not Makefile)
Line 17: Line 17:
  
 
Also, if I update the MokoMakefile, won't it wipe out my changes?
 
Also, if I update the MokoMakefile, won't it wipe out my changes?
 +
 +
:You are supposed to edit the <code>setup-env</code> file it creates, not the <code>Makefile</code> itself. This way, it will only be overwritten if you repeat the initial setup steps, which shouldn't be needed most of the time. --[[User:CesarB|CesarB]] 01:03, 31 July 2007 (CEST)

Revision as of 01:03, 31 July 2007

Thanks for creating this page. It's exactly what I needed to know next. I managed to build everything from scratch and got qemu up and running, but wasn't sure about the next steps. This looks like it will be very useful.

I've followed the instructions and it's all gone well, however I have hit a snag. I don't have the "rebuild-package-task-base" target in my Makefile. I hope I'm not missing something obvious. - Mark B.

  • The 'rebuild-package-%' target (replace % with package name) was added to the Mokomakefile very recently. Just do a 'make update-makefile' to update your Mokomakefile before retrying :-) --aevin 03:49, 30 July 2007 (CEST)

question about MokoMakefile modification

The section about adding local to the MokoMakefile says:

export BBPATH="${OMDIR}/build:${OMDIR}/local:${OMDIR}/oe:${OMDIR}/openembedded"

But shouldn't we have $${OMDIR}? That's what the makefile has.

Also, if I update the MokoMakefile, won't it wipe out my changes?

You are supposed to edit the setup-env file it creates, not the Makefile itself. This way, it will only be overwritten if you repeat the initial setup steps, which shouldn't be needed most of the time. --CesarB 01:03, 31 July 2007 (CEST)
Personal tools

Thanks for creating this page. It's exactly what I needed to know next. I managed to build everything from scratch and got qemu up and running, but wasn't sure about the next steps. This looks like it will be very useful.

I've followed the instructions and it's all gone well, however I have hit a snag. I don't have the "rebuild-package-task-base" target in my Makefile. I hope I'm not missing something obvious. - Mark B.

  • The 'rebuild-package-%' target (replace % with package name) was added to the Mokomakefile very recently. Just do a 'make update-makefile' to update your Mokomakefile before retrying :-) --aevin 03:49, 30 July 2007 (CEST)

question about MokoMakefile modification

The section about adding local to the MokoMakefile says:

export BBPATH="${OMDIR}/build:${OMDIR}/local:${OMDIR}/oe:${OMDIR}/openembedded"

But shouldn't we have $${OMDIR}? That's what the makefile has.

Also, if I update the MokoMakefile, won't it wipe out my changes?