Rockbox Technical Forums
Rockbox Development => Starting Development and Compiling => Topic started by: hydroo on January 16, 2008, 11:54:23 AM
-
According to http://www.rockbox.org/twiki/bin/view/Main/HowtoWritePlugins I have to make;make install the whole simulator to be able to test my plugin.
Now this takes a bit long. Is there no other way?
regards
-
You could remove other plugins from the build list, but you still need to build rockbox at the same time.
-
I already did that.
And I am using ccache and whatnot and am running linux natively anyways. So there isn't much to speed up I guess.
~20-30secs is just ... well :(.
It encourages to read twice before testing.
So is this mandatory(by design) or just bad Makefiles?
(I am pretty new to this. Made my helloworld yesterday)
thanks for the quick response.
regards
-
I already did that.
So is this mandatory(by design) or just bad Makefiles?
Plugins cannot work without rockbox, so theres no sense in letting you build them without it.
-
Because they are linked statically?
I am pretty good at c, unix/linux and stuff. So you can give me details :P. I am curious.
Rephrased:
Why can I not build and install the simulator separately from the plugins.
/Every plugin for itself. (e.g. by specifying the plugin as a target)
-
Because plugins depend on the plugin struct used in Rockbox.
I would say that the main reason you can't build a single plugin is that the make system isn't written to allow that in an easy manner...
Besides, once you've build the whole lot once running make to just build the changes in a single plugin that you make is not that time consuming.
-
"installing a full setup in your archos dir"
takes a while.
(Not the actual building - it's probably copying unzipping or something like that)
thanks for your help
-
Well, you don't have to run 'make install' if you insist. You can copy the actual plugin .so file to the correct install place...
-
I managed. Thank you.
$ make
$ cp apps/plugins/whatever.rock to archos/.rockbox/rocks/categoryxxx/
works fine
regards