Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide
translations



Rockbox mail archive

Subject: Re: how to avoid a "make install" on simdisk after each change

Re: how to avoid a "make install" on simdisk after each change

From: Thomas Martitz <thomas.martitz_at_student.htw-berlin.de>
Date: Fri, 03 Dec 2010 16:22:38 +0100

"Maurus Cuelenaere" <mcuelenaere_at_gmail.com> schrieb:

>"Michael Stummvoll" <michael_at_stummi.org> wrote:
>
>>Hello,
>>
>>when I am developing on an application, I often work in little steps
>>(make a change, build it, test it, make the next change, build this,
>>...).
>>
>>First I did this by typing "make && make install" at my build-dir
>after
>>each change on the app. The make-process takes about 1 second, the
>>install about ten. When i am working in steps where i have do this
>>about
>>one time a minute the time to install is a bit annoying.
>>
>>At the moment, I got rid of the problem by making a symlink (for
>>example
>>apps/plugins/lamp.rock to simdisk/.rockbox/rocks/apps), so that I just
>>have to type make after changing the lamp.c-file.
>>
>>Is there a better way to avoid typing make install each time I want to
>>test a new build?
>>
>>If not, I want to propose creating a make-target like "make links" or
>>so, which works like make install or fullinstall, which does not copy
>>all the files but symlinking where it possible.
>>unfortunately I am not fit enough with the Makefiles to do this for
>>myself, so I hope somebody can do this for me.
>>
>>greetings,
>>Michael
>
>When I worked on plugins I usually did make && cp apps/rocks/<path>
>simdisk/.rockbox/rocks/<name>
>--
>Maurus Cuelenaere

I do the same. I put it into a script and do "rmake <plugin name>"

but I can imagine the symlink way works very well.

Best regards.
Received on 2010-12-03

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy