Rockbox Development > Starting Development and Compiling
compiling plugins
(1/1)
jan3er:
i am trying to write my frist plugin.
everytime i want to test it i am building the whole rockbox with cygwin.
this takes a lot of time, so i'm making very slow progress.
is there a way to compile only a single file? like, let's say test.c to test.rock?
that would make things much easier
saratoga:
--- Quote from: jan3er on December 30, 2009, 01:31:23 PM ---i am trying to write my frist plugin.
everytime i want to test it i am building the whole rockbox with cygwin.
this takes a lot of time, so i'm making very slow progress.
--- End quote ---
After the first time you compile rockbox, only files that are changed are compiled, so if you're just editing a plugin compiling shouldn't take more then a few seconds.
Are you by any chance doing a make clean first? If so, don't.
jan3er:
thanks a lot, thats what i did wrong
gulak:
--- Quote from: saratoga on December 30, 2009, 02:04:03 PM ---After the first time you compile rockbox, only files that are changed are compiled, so if you're just editing a plugin compiling shouldn't take more then a few seconds.
--- End quote ---
It takes sometime to check which sources have changed.
A slightly faster is if you only enter:
make rocks
Much faster is if you write a Makefile to only build the plugin.
Navigation
[0] Message Index
Go to full version