freemyipod r668 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r667‎ | r668 | r669 >
Date:19:29, 25 March 2011
Author:theseven
Status:new
Tags:
Comment:
Fix confusing ordering in iPod Classic installation script
Modified paths:
  • /apps/installer-ipodclassic/Makefile (modified) (history)
  • /apps/installer-ipodclassic/resources.S (modified) (history)

Diff [purge]

Index: apps/installer-ipodclassic/resources.S
@@ -154,11 +154,10 @@
155155
156156 firstinstcost:
157157 .word 0
158 -firstinstscript:
 158+commoncost:
159159 .word 0
160160
161 -commoncost:
162 -.word 0
 161+firstinstscript:
163162 commonscript:
164163 .word 0
165164
Index: apps/installer-ipodclassic/Makefile
@@ -39,7 +39,7 @@
4040 LDFLAGS += "$(shell $(CC) -print-libgcc-file-name)" --emit-relocs --gc-sections
4141
4242 preprocess = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#")
43 -preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:")
 43+preprocesspaths = $(shell $(CC) $(PPCFLAGS) $(2) -E -P -x c $(1) | grep -v "^\#" | sed -e "s:^..*:$(dir $(1))&:" | sed -e "s:^\\./::")
4444
4545 REVISION := $(shell svnversion .)
4646 REVISIONINT := $(shell echo $(REVISION) | sed -e "s/[^0-9].*$$//")