Talk:Customizing the Openmoko Distribution

From Openmoko

Jump to: navigation, search

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.

  • Hey Mark, I added a nice big bolded section to the wiki for the makefile where the first thing you should do is make update-makefile and that will update your make file to the new version which will have the rebuild-package target! Enjoy! --Bryce.Leo 03:23, 31 July 2007 (CEST)
  • 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)
  • Thanks to both of you for your help! The documentation on this wiki just keeps getting better and better. It's very impressive, and very encouraging. (I've hit another snag, but it'll be educational, and fun, for me to try to work it out for myself.) --Markb 15:05, 31 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)
I noticed this the second time I read it. Thanks.
--Sagacis 06:12, 1 August 2007 (CEST)

Local overlay changes

I've updated User:CesarB/Using a local overlay for 2007.2; I also included there a better way of adding a new package to the rootfs (according to [1], using DISTRO_EXTRA_RDEPENDS is deprecated). --CesarB 07:14, 26 August 2007 (CEST)

ERROR: No providers of build target myhelloworld (for [])

I get this error...

ERROR: No providers of build target myhelloworld (for [])
make: *** [build-package-myhelloworld] Fehler 1

... when I try to run

make build-package-myhelloworld

I have a Bitbake file in "mokodev/local/packages/myhelloworld/" using overlay. Any sugestions?

I'm getting the same error. MokoMakefile seems unable to find the local/conf/site.conf file.

Applying the edits directly to /build/conf/site.conf appears to be a workaround, even though it's definately not the correct way to do it.

If anyone has any idea on how to do this correctly, please let us know.


Personal tools