Talk:Customizing the Openmoko Distribution
From Openmoko
m (A quick thank you message.) |
(→question about MokoMakefile modification) |
||
Line 22: | Line 22: | ||
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? | ||
+ | |||
+ | --[[User:Sagacis|Sagacis]] | ||
: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) | :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) | ||
+ | |||
+ | ::I noticed this the second time I read it. Thanks. | ||
+ | ::--[[User:Sagacis|Sagacis]] 06:12, 1 August 2007 (CEST) |
Revision as of 06:12, 1 August 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.
- 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?
--Sagacis
- You are supposed to edit the
setup-env
file it creates, not theMakefile
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)