Rockbox Development > Starting Development and Compiling

Make files customizing

(1/2) > >>

007quick:
I want to cause the make zip command to output a file with a different name than rockbox.zip I make multiple builds so having it automaticly rename the files would be great. Anyone know which line I should edit?

bluebrother:
just look for the "zip" target in the created Makefile. But I don't understand why you would want to do that, you should (read: need to) make every build in a separate folder anyway, and simply renaming the file (by a script that invokes all builds) is the easiest (and IMO cleanest) solution as it won't break on build changes in svn.

007quick:
I have folders that I make the builds in but I need them to have a different name so that I can upload them onto my site. Since I use the same make files all the time I think that it makes sense to just have the make file make them as a differnt name.
EG. a build for a H10 5gb could be rockbox_H10_5gb.zip
a build for a H10 20gb could be rockbox_H10_20gb.zip
see?
zip:
   $(SILENT)$(TOOLSDIR)/buildzip.pl $(VERBOSEOPT) -t \"$(ARCHOS)\" -r "$(ROOTDIR)" $(TARGET) $(BINARY)
I beleive that that is the line which tells it what to do for zips. Also, if it could put it in a differnt directory would be amazing too.

(:@):
you can add the switch -o following by the output name e.g.:
zip:
   $(SILENT)$(TOOLSDIR)/buildzip.pl -o \"$(ARCHOS)\" $(VERBOSEOPT)...

007quick:
works perfect!
Thanks!

Navigation

[0] Message Index

[#] Next page

Go to full version