This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5785 - Adding make install for devices
Attached to Project:
Rockbox
Opened by Tom Meyer (tommeyer) - Wednesday, 09 August 2006, 22:02 GMT+2
Opened by Tom Meyer (tommeyer) - Wednesday, 09 August 2006, 22:02 GMT+2
|
DetailsThis patch modifies configue and buildzip.pl. Adds an option in configure, where the user can specify a mountpoint for the device, so that "make install" will copy files directly to the device, avoiding the multiple steps of make zip and then unzipping the file to the device.
|
This task depends upon
Closed by Nicolas Pennequin (nicolas_p)
Wednesday, 21 February 2007, 01:50 GMT+2
Reason for closing: Rejected
Wednesday, 21 February 2007, 01:50 GMT+2
Reason for closing: Rejected
The simulator already has a 'make install' target and if the "real" builds should have a similar I don't see any reason whatsoever to modify buildzip.pl. I find it better to keep that as simple as possible and add the extra cruft in the Makefile.
Also, I don't think the mount point is to be defined in the configure script since for many people the mount point can vary so it better be a variable you set at install time... Like "make DIR=/mnt/iriver install".
Regarding your second point, you can already say: make MOUNTPOINT=/mnt/iriver install, since it's already a variable in the Makefile.
1 - buildzip.pl doesn't need these changes since you can already accomplish this without changing it
2 - asking for the mount point in the configure is the wrong place to ask for such an information since building has nothing to do with mount points