FS#11825 - make target "Linkinstall" for developing

Attached to Project: Rockbox
Opened by Michael Stummvoll (Stummi) - Thursday, 23 December 2010, 11:13 GMT
Last edited by Michael Stummvoll (Stummi) - Tuesday, 28 December 2010, 10:48 GMT
Task Type Patches
Category Build environment
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.7.1
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Hello Rockbox-Developers,

I added a make target called "linkinstall" which works like fullinstall, but symlinks the files instead of copying.

This is a good thing for developing with a simulator build. If you are working on a app, you can type "make linksinstall" after first build, which links the files to the .rockbox-directory in simdisk. Thus, after a change on an existing app, you only have to type "make", which builds the changed apps. The files in the simdisk-directory are direct affected now, so you dont have to type make install or fullinstall after this. This saves a lot of time.


This task depends upon

Closed by  Michael Stummvoll (Stummi)
Tuesday, 28 December 2010, 10:48 GMT
Reason for closing:  Accepted
Comment by Frank Gevaerts (fg) - Thursday, 23 December 2010, 11:57 GMT
I think this is a useful idea.

The only think I'd personally do differently is the name. "link" means "hard link" to me, so I'd go for "symlinkinstall". Maybe that's just me though.

I didn't really review the implementation, but at first sight it looks fine to this non-perl person
Comment by Michael Stummvoll (Stummi) - Thursday, 23 December 2010, 12:11 GMT
Ok, changed this.
I also had to change the intention on make help output for this.