Subversion Repositories freemyipod

Rev

Rev 185 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 185 Rev 243
Line 1... Line 1...
1
NAME := installer-nano2g
1
NAME := installer-nano2g
2
 
2
 
3
EMBIOSDIR ?= ../../embios/trunk/
3
EMBIOSDIR ?= ../../embios/trunk/
4
ILOADERDIR ?= ../iloader/
4
ILOADERDIR ?= ../iloader/
5
UNINSTDIR ?= ../uninstaller-nano2g/
5
UNINSTDIR ?= ../uninstaller-nano2g/
-
 
6
UMSBOOTDIR ?= ../../umsboot/
6
TOOLSDIR ?= ../../tools/
7
TOOLSDIR ?= ../../tools/
7
 
8
 
8
BITMAPS = build/backdrop.ucl build/welcome.ucl build/repartition.ucl build/installing.ucl build/badpartition.ucl \
9
BITMAPS = build/backdrop.ucl build/welcome.ucl build/repartition.ucl build/installing.ucl build/badpartition.ucl \
9
          build/cancelled.ucl build/repartitioning.ucl build/preparing.ucl build/installfiles.ucl build/flashing.ucl
10
          build/cancelled.ucl build/repartitioning.ucl build/preparing.ucl build/installfiles.ucl build/flashing.ucl
10
 
11
 
11
FLASHFILES = flashfiles/uninstaller-nano2g.embiosapp.ucl flashfiles/iloader.cfg.ucl flashfiles/iloader.embiosapp.ucl \
12
FLASHFILES = flashfiles/uninstaller-nano2g.embiosapp.ucl flashfiles/iloader.cfg.ucl flashfiles/iloader.embiosapp.ucl \
12
             flashfiles/embiosldr-ipodnano2g.dfu flashfiles/embios-ipodnano2g.ucl
13
             flashfiles/embiosldr-ipodnano2g.dfu flashfiles/embios-ipodnano2g.ucl flashfiles/umsboot-ipodnano2g.ucl
13
 
14
 
14
CROSS   ?= arm-none-eabi-
15
CROSS   ?= arm-none-eabi-
15
CC      := $(CROSS)gcc
16
CC      := $(CROSS)gcc
16
AS      := $(CROSS)as
17
AS      := $(CROSS)as
17
LD      := $(CROSS)ld
18
LD      := $(CROSS)ld
Line 157... Line 158...
157
 
158
 
158
flashfiles/uninstaller-nano2g.embiosapp.ucl: $(UNINSTDIR)/build/uninstaller-nano2g.embiosapp.ucl uninstaller-nano2g
159
flashfiles/uninstaller-nano2g.embiosapp.ucl: $(UNINSTDIR)/build/uninstaller-nano2g.embiosapp.ucl uninstaller-nano2g
159
	@echo [CP]     $@
160
	@echo [CP]     $@
160
	@cp $< $@
161
	@cp $< $@
161
 
162
 
-
 
163
$(UMSBOOTDIR)/build/ipodnano2g/umsboot-ipodnano2g.ucl: umsboot
-
 
164
 
-
 
165
flashfiles/umsboot-ipodnano2g.ucl: $(UMSBOOTDIR)/build/ipodnano2g/umsboot-ipodnano2g.ucl umsboot
-
 
166
	@echo [CP]     $@
-
 
167
	@cp $< $@
-
 
168
 
162
flashfiles/iloader.cfg: flashfiles/iloader.conf
169
flashfiles/iloader.cfg: flashfiles/iloader.conf
163
	@echo [COMCFG] $@
170
	@echo [COMCFG] $@
164
	@$(COMPILECONFIG) $< $@
171
	@$(COMPILECONFIG) $< $@
165
 
172
 
166
flashfiles/iloader.cfg.ucl: flashfiles/iloader.cfg
173
flashfiles/iloader.cfg.ucl: flashfiles/iloader.cfg
Line 200... Line 207...
200
	@make -C $(ILOADERDIR)
207
	@make -C $(ILOADERDIR)
201
 
208
 
202
uninstaller-nano2g:
209
uninstaller-nano2g:
203
	@make -C $(UNINSTDIR)
210
	@make -C $(UNINSTDIR)
204
 
211
 
-
 
212
umsboot:
-
 
213
	@make -C $(UMSBOOTDIR) ipodnano2g
-
 
214
 
205
clean:
215
clean:
206
	@rm -rf build
216
	@rm -rf build
207
 
217
 
208
.PHONY: all clean uninstaller-nano2g iloader embios embiosldr-ipodnano2g libucl flashfiles $(NAME)
218
.PHONY: all clean uninstaller-nano2g iloader embios embiosldr-ipodnano2g umsboot libucl flashfiles $(NAME)