-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
662 lines (639 loc) · 54.9 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
topdir=./
srcdir=./
include makefile.inc
#ifndef NO_INC_BUILD
#BUILD_NUMBER := $(shell expr $(BUILD_NUMBER) + 1)
#endif
SUBDIRS=tools lib platform core loader CHDK
all: all-recursive
clean: clean-recursive
distclean: distclean-recursive
fir: version firsub
firsub: all
mkdir -p $(topdir)bin
cp $(topdir)loader/$(PLATFORM)/main.bin $(topdir)bin/main.bin
ifndef NOZERO100K
ifeq ($(OSTYPE),Windows)
zero | dd bs=1k count=100 >> $(topdir)bin/main.bin 2> $(DEVNULL)
else
dd if=/dev/zero bs=1k count=100 >> $(topdir)bin/main.bin 2> $(DEVNULL)
endif
endif
ifdef PLATFORMOS
ifeq ($(PLATFORMOS),vxworks)
@echo \-\> PS.FIR
$(PAKWIF) $(topdir)bin/PS.FIR \
$(topdir)bin/main.bin\
$(PLATFORMID) 0x01000101
endif
ifeq ($(PLATFORMOS),dryos)
ifdef OPT_FI2
ifdef FI2KEY
@echo \-\> PS.FI2
$(PAKFI2) $(topdir)bin/main.bin -p $(PLATFORMID) -key $(FI2KEY) -iv $(FI2IV) $(topdir)bin/PS.FI2
else
@echo WARNING OPT_FI2 set but FI2KEY is not! please read platform/fi2.inc.txt
endif
endif
endif
endif
ifdef NEED_ENCODED_DISKBOOT
@echo dance \-\> DISKBOOT.BIN ver $(NEED_ENCODED_DISKBOOT)
$(ENCODE_DISKBOOT) $(topdir)bin/main.bin $(topdir)bin/DISKBOOT.BIN $(NEED_ENCODED_DISKBOOT)
rm $(topdir)bin/main.bin
else
mv $(topdir)bin/main.bin $(topdir)bin/DISKBOOT.BIN
endif
@echo "**** Firmware creation completed successfully"
upload: fir
@echo Uploading...
cp $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB).FIR $(topdir)bin/PS.FIR
/home/vitalyb/Projects/ch/libptp2-1.1.0/src/ptpcam -u -m 0xbf01 --filename $(topdir)bin/PS.FIR
infoline:
@echo "**** GCC $(GCC_VERSION) : BUILDING CHDK-$(VER), #$(BUILD_NUMBER) FOR $(PLATFORM)-$(PLATFORMSUB)"
version: FORCE
echo "**** Build: $(BUILD_NUMBER)"
# echo "BUILD_NUMBER := $(BUILD_NUMBER)" > version.inc
FORCE:
firzip: version firzipsub
firzipsub: infoline clean firsub
@echo \-\> $(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
rm -f $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
LANG=C echo -e "CHDK-$(VER) for $(PLATFORM) fw:$(PLATFORMSUB) build:$(BUILD_NUMBER) date:`date -R`" | \
zip -9jz $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/DISKBOOT.BIN > $(DEVNULL)
ifdef PLATFORMOS
ifeq ($(PLATFORMOS),vxworks)
zip -9j $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FIR > $(DEVNULL)
rm -f $(topdir)bin/PS.FIR
endif
ifeq ($(PLATFORMOS),dryos)
ifdef OPT_FI2
ifdef FI2KEY
zip -9j $(topdir)bin/$(VER)-$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FI2 > $(DEVNULL)
rm -f $(topdir)bin/PS.FI2
endif
endif
endif
endif
rm -f $(topdir)bin/DISKBOOT.BIN
firzipsubcomplete: infoline clean firsub
@echo \-\> $(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip
rm -f $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip
@echo \-\> $(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
rm -f $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip
LANG=C echo -e "CHDK-$(VER) for $(PLATFORM) fw:$(PLATFORMSUB) build:$(BUILD_NUMBER) date:`date -R`" | \
zip -9jz $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)bin/DISKBOOT.BIN > $(DEVNULL)
LANG=C echo -e "CHDK-$(VER) for $(PLATFORM) fw:$(PLATFORMSUB) build:$(BUILD_NUMBER) date:`date -R`" | \
zip -9jz $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/DISKBOOT.BIN > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/SYMBOLS/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/BOOKS/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/CURVES/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/DATA/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/FONTS/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/GAMES/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/GRIDS/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/LANG/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/LUALIB/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/LUALIB/GEN/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/SCRIPTS/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/SCRIPTS/EXAM/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/SCRIPTS/TEST/* > $(DEVNULL)
zip -9 $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)CHDK/syscurves.CVF > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)doc/changelog.txt > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)doc/changelog.txt > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)tools/vers.req > $(DEVNULL)
cat $(topdir)doc/1_intro.txt $(topdir)platform/$(PLATFORM)/notes.txt $(topdir)doc/2_installation.txt $(topdir)doc/3_faq.txt $(topdir)doc/4_urls.txt $(topdir)doc/5_gpl.txt $(topdir)doc/6_ubasic_copyright.txt > $(topdir)doc/readme.txt
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)doc/readme.txt > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)doc/readme.txt > $(DEVNULL)
ifdef PLATFORMOS
ifeq ($(PLATFORMOS),vxworks)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)bin/PS.FIR > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FIR > $(DEVNULL)
rm -f $(topdir)bin/PS.FIR
endif
ifeq ($(PLATFORMOS),dryos)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)doc/readme.txt > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)doc/readme.txt > $(DEVNULL)
ifdef OPT_FI2
ifdef FI2KEY
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER)-full.zip $(topdir)bin/PS.FI2 > $(DEVNULL)
zip -9j $(topdir)bin/$(PLATFORM)-$(PLATFORMSUB)-$(BUILD_NUMBER).zip $(topdir)bin/PS.FI2 > $(DEVNULL)
rm -f $(topdir)bin/PS.FI2
endif
endif
endif
endif
rm -f $(topdir)bin/DISKBOOT.BIN
batch-zip: version
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a620 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a630 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a640 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a700 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a710 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s3is PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a530 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a540 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a560 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a2000 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
#$(MAKE) -s --no-print-directory PLATFORM=s80 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus850_sd800 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus860_sd870 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus950_sd850 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100k NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus65_sd630 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=102a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=102a NO_INC_BUILD=1 firzipsub
#$(MAKE) -s --no-print-directory PLATFORM=ixusW_sd430 PLATFORMSUB=110a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a720 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a650 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a450 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a460 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a550 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus960_sd950 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixusizoom_sd30 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=103a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=200h NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=201a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=102c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx110is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
# $(MAKE) -s --no-print-directory PLATFORM=sx130is PLATFORMSUB=101c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx200is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus100_sd780 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=102c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=a480 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102d NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus85_sd770 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=d10 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus95_sd1200 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
#$(MAKE) -s --no-print-directory PLATFORM=a430 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=ixus900_sd900 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsub
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsub
@echo "**** All firmwares created successfully"
@echo "**** Copying duplicate Firmwares"
cp $(topdir)bin/$(VER)-a610-100e-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-a610-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-s2is-100g-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s2is-100i-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus800_sd700-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus800_sd700-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus850_sd800-100e-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus850_sd800-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus70_sd1000-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus70_sd1000-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus75_sd750-101a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus75_sd750-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus80_sd1100-101a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus80_sd1100-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus970_sd890-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus970_sd890-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-g9-100g-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g9-100f-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-g9-100i-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g9-100h-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-a470-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-a470-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-sx200is-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-sx200is-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus960_sd950-100d-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus960_sd950-100c-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-ixus90_sd790-100d-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus90_sd790-100e-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-g11-100j-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g11-100k-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-s90-101c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s90-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/$(VER)-d10-100a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-d10-100b-$(BUILD_NUMBER).zip
mv $(topdir)bin/$(VER)-sx1-200h-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-sx1-200h-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-sx1-201a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-sx1-201a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-a2000-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-a2000-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus90_sd790-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus90_sd790-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus90_sd790-100d-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus90_sd790-100d-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus90_sd790-100e-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus90_sd790-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-g11-100f-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g11-100f-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-g11-100j-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g11-100j-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-g11-100k-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g11-100k-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-g11-100l-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-g11-100l-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s90-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s90-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s90-101a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s90-101a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s90-101b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s90-101b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s90-101c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-s90-101c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus100_sd780-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus100_sd780-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus120_sd940-100e-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus120_sd940-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus120_sd940-101a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus120_sd940-101a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus120_sd940-102c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus120_sd940-102c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus120_sd940-103b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus120_sd940-103b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus120_sd940-103c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus120_sd940-103c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus85_sd770-100a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus85_sd770-100a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-d10-100a-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-d10-100a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-d10-100b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-d10-100b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus95_sd1200-100c-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus95_sd1200-100c-$(BUILD_NUMBER)_BETA.zip
#mv $(topdir)bin/$(VER)-a430-100b-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-a430-100b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s95-100e-$(BUILD_NUMBER).zip $(topdir)bin/s95-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s95-100h-$(BUILD_NUMBER).zip $(topdir)bin/s95-100h-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-s95-100i-$(BUILD_NUMBER).zip $(topdir)bin/s95-100i-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/$(VER)-ixus750_sd550-100h-$(BUILD_NUMBER).zip $(topdir)bin/$(VER)-ixus750_sd550-100h-$(BUILD_NUMBER)_BETA.zip
@echo "**** Done Copying duplicate Firmwares"
@echo "**** Summary of memisosizes"
cat $(topdir)bin/caminfo.txt
rm -f $(topdir)bin/caminfo.txt > $(DEVNULL)
batch-zip-complete: version
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a620 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a630 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a640 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a700 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a710 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s3is PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a530 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a540 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a560 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a2000 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
#$(MAKE) -s --no-print-directory PLATFORM=s80 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus850_sd800 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus860_sd870 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus950_sd850 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100k NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus65_sd630 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=102a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=102a NO_INC_BUILD=1 firzipsubcomplete
#$(MAKE) -s --no-print-directory PLATFORM=ixusW_sd430 PLATFORMSUB=110a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a720 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a650 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a450 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a460 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a550 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus960_sd950 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixusizoom_sd30 PLATFORMSUB=100g NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=103a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=200h NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=201a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=101b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=102c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx110is PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
# $(MAKE) -s --no-print-directory PLATFORM=sx130is PLATFORMSUB=101c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx200is PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100j NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus100_sd780 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=102c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=a480 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102d NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus85_sd770 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=d10 PLATFORMSUB=100a NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus95_sd1200 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
#$(MAKE) -s --no-print-directory PLATFORM=a430 PLATFORMSUB=100b NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=ixus900_sd900 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100c NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100f NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100e NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100h NO_INC_BUILD=1 firzipsubcomplete
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100i NO_INC_BUILD=1 firzipsubcomplete
@echo "**** All zipfiles including firmwares and extra stuff created successfully"
@echo "**** Copying duplicate Firmwares"
cp $(topdir)bin/a610-100e-$(BUILD_NUMBER)-full.zip $(topdir)bin/a610-100d-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/a610-100e-$(BUILD_NUMBER).zip $(topdir)bin/a610-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/s2is-100g-$(BUILD_NUMBER)-full.zip $(topdir)bin/s2is-100i-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/s2is-100g-$(BUILD_NUMBER).zip $(topdir)bin/s2is-100i-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus800_sd700-101b-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus800_sd700-101a-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus800_sd700-101b-$(BUILD_NUMBER).zip $(topdir)bin/ixus800_sd700-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus850_sd800-100e-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus850_sd800-100d-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus850_sd800-100e-$(BUILD_NUMBER).zip $(topdir)bin/ixus850_sd800-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus70_sd1000-101b-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus70_sd1000-101a-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus70_sd1000-101b-$(BUILD_NUMBER).zip $(topdir)bin/ixus70_sd1000-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus75_sd750-101a-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus75_sd750-101b-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus75_sd750-101a-$(BUILD_NUMBER).zip $(topdir)bin/ixus75_sd750-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus80_sd1100-101a-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus80_sd1100-101b-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus80_sd1100-101a-$(BUILD_NUMBER).zip $(topdir)bin/ixus80_sd1100-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus970_sd890-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus970_sd890-100d-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus970_sd890-100c-$(BUILD_NUMBER).zip $(topdir)bin/ixus970_sd890-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/g9-100g-$(BUILD_NUMBER)-full.zip $(topdir)bin/g9-100f-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/g9-100g-$(BUILD_NUMBER).zip $(topdir)bin/g9-100f-$(BUILD_NUMBER).zip
cp $(topdir)bin/g9-100i-$(BUILD_NUMBER)-full.zip $(topdir)bin/g9-100h-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/g9-100i-$(BUILD_NUMBER).zip $(topdir)bin/g9-100h-$(BUILD_NUMBER).zip
cp $(topdir)bin/a470-101b-$(BUILD_NUMBER)-full.zip $(topdir)bin/a470-101a-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/a470-101b-$(BUILD_NUMBER).zip $(topdir)bin/a470-101a-$(BUILD_NUMBER).zip
cp $(topdir)bin/sx200is-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/sx200is-100d-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/sx200is-100c-$(BUILD_NUMBER).zip $(topdir)bin/sx200is-100d-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus960_sd950-100d-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus960_sd950-100c-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus960_sd950-100d-$(BUILD_NUMBER).zip $(topdir)bin/ixus960_sd950-100c-$(BUILD_NUMBER).zip
cp $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER).zip $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER).zip
cp $(topdir)bin/g11-100j-$(BUILD_NUMBER)-full.zip $(topdir)bin/g11-100k-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/g11-100j-$(BUILD_NUMBER).zip $(topdir)bin/g11-100k-$(BUILD_NUMBER).zip
cp $(topdir)bin/s90-101c-$(BUILD_NUMBER).zip $(topdir)bin/s90-101b-$(BUILD_NUMBER).zip
cp $(topdir)bin/s90-101c-$(BUILD_NUMBER)-full.zip $(topdir)bin/s90-101b-$(BUILD_NUMBER)-full.zip
cp $(topdir)bin/d10-100a-$(BUILD_NUMBER).zip $(topdir)bin/d10-100b-$(BUILD_NUMBER).zip
cp $(topdir)bin/d10-100a-$(BUILD_NUMBER)-full.zip $(topdir)bin/d10-100b-$(BUILD_NUMBER)-full.zip
mv $(topdir)bin/sx1-200h-$(BUILD_NUMBER)-full.zip $(topdir)bin/sx1-200h-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/sx1-200h-$(BUILD_NUMBER).zip $(topdir)bin/sx1-200h-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/sx1-201a-$(BUILD_NUMBER)-full.zip $(topdir)bin/sx1-201a-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/sx1-201a-$(BUILD_NUMBER).zip $(topdir)bin/sx1-201a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/a2000-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/a2000-100c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/a2000-100c-$(BUILD_NUMBER).zip $(topdir)bin/a2000-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus90_sd790-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus90_sd790-100c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus90_sd790-100c-$(BUILD_NUMBER).zip $(topdir)bin/ixus90_sd790-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER).zip $(topdir)bin/ixus90_sd790-100d-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER).zip $(topdir)bin/ixus90_sd790-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/g11-100f-$(BUILD_NUMBER)-full.zip $(topdir)bin/g11-100f-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/g11-100f-$(BUILD_NUMBER).zip $(topdir)bin/g11-100f-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/g11-100j-$(BUILD_NUMBER)-full.zip $(topdir)bin/g11-100j-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/g11-100j-$(BUILD_NUMBER).zip $(topdir)bin/g11-100j-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/g11-100k-$(BUILD_NUMBER)-full.zip $(topdir)bin/g11-100k-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/g11-100k-$(BUILD_NUMBER).zip $(topdir)bin/g11-100k-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/g11-100l-$(BUILD_NUMBER)-full.zip $(topdir)bin/g11-100l-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/g11-100l-$(BUILD_NUMBER).zip $(topdir)bin/g11-100l-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus100_sd780-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus100_sd780-100c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus100_sd780-100c-$(BUILD_NUMBER).zip $(topdir)bin/ixus100_sd780-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus120_sd940-100e-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus120_sd940-100e-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus120_sd940-100e-$(BUILD_NUMBER).zip $(topdir)bin/ixus120_sd940-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus120_sd940-101a-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus120_sd940-101a-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus120_sd940-101a-$(BUILD_NUMBER).zip $(topdir)bin/ixus120_sd940-101a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus120_sd940-102c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus120_sd940-102c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus120_sd940-102c-$(BUILD_NUMBER).zip $(topdir)bin/ixus120_sd940-102c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus120_sd940-103b-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus120_sd940-103b-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus120_sd940-103b-$(BUILD_NUMBER).zip $(topdir)bin/ixus120_sd940-103b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus120_sd940-103c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus120_sd940-103c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus120_sd940-103c-$(BUILD_NUMBER).zip $(topdir)bin/ixus120_sd940-103c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s90-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/s90-100c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s90-100c-$(BUILD_NUMBER).zip $(topdir)bin/s90-100c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s90-101a-$(BUILD_NUMBER)-full.zip $(topdir)bin/s90-101a-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s90-101a-$(BUILD_NUMBER).zip $(topdir)bin/s90-101a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s90-101b-$(BUILD_NUMBER)-full.zip $(topdir)bin/s90-101b-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s90-101b-$(BUILD_NUMBER).zip $(topdir)bin/s90-101b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s90-101c-$(BUILD_NUMBER)-full.zip $(topdir)bin/s90-101c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s90-101c-$(BUILD_NUMBER).zip $(topdir)bin/s90-101c-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus85_sd770-100a-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus85_sd770-100a-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus85_sd770-100a-$(BUILD_NUMBER).zip $(topdir)bin/ixus85_sd770-100a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/d10-100a-$(BUILD_NUMBER)-full.zip $(topdir)bin/d10-100a-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/d10-100a-$(BUILD_NUMBER).zip $(topdir)bin/d10-100a-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/d10-100b-$(BUILD_NUMBER)-full.zip $(topdir)bin/d10-100b-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/d10-100b-$(BUILD_NUMBER).zip $(topdir)bin/d10-100b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus95_sd1200-100c-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus95_sd1200-100c-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/ixus95_sd1200-100c-$(BUILD_NUMBER).zip $(topdir)bin/ixus95_sd1200-100c-$(BUILD_NUMBER)_BETA.zip
#mv $(topdir)bin/a430-100b-$(BUILD_NUMBER)-full.zip $(topdir)bin/a430-100b-$(BUILD_NUMBER)-full_BETA.zip
#mv $(topdir)bin/a430-100b-$(BUILD_NUMBER).zip $(topdir)bin/a430-100b-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s95-100e-$(BUILD_NUMBER)-full.zip $(topdir)bin/s95-100e-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s95-100e-$(BUILD_NUMBER).zip $(topdir)bin/s95-100e-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s95-100h-$(BUILD_NUMBER)-full.zip $(topdir)bin/s95-100h-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s95-100h-$(BUILD_NUMBER).zip $(topdir)bin/s95-100h-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/s95-100i-$(BUILD_NUMBER)-full.zip $(topdir)bin/s95-100i-$(BUILD_NUMBER)-full_BETA.zip
mv $(topdir)bin/s95-100i-$(BUILD_NUMBER).zip $(topdir)bin/s95-100i-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus750_sd550-100h-$(BUILD_NUMBER).zip $(topdir)bin/ixus750_sd550-100h-$(BUILD_NUMBER)_BETA.zip
mv $(topdir)bin/ixus750_sd550-100h-$(BUILD_NUMBER)-full.zip $(topdir)bin/ixus750_sd550-100h-$(BUILD_NUMBER)-full_BETA.zip
@echo "**** Done Copying duplicate Firmwares"
@echo "**** Summary of memisosizes"
cat $(topdir)bin/caminfo.txt
rm -f $(topdir)bin/caminfo.txt > $(DEVNULL)
batch-clean:
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a610 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a620 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a630 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a640 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a700 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a710 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s2is PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s3is PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100i NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g7 PLATFORMSUB=100j NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g9 PLATFORMSUB=100i NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a530 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a540 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a560 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a570 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a590 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a2000 PLATFORMSUB=100c NO_INC_BUILD=1 clean
#$(MAKE) -s --no-print-directory PLATFORM=s80 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus700_sd500 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus800_sd700 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus850_sd800 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus860_sd870 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus870_sd880 PLATFORMSUB=102b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus950_sd850 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus980_sd990 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100k NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus40_sd300 PLATFORMSUB=100j NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus50_sd400 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus55_sd450 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus65_sd630 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus70_sd1000 PLATFORMSUB=102a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus75_sd750 PLATFORMSUB=102a NO_INC_BUILD=1 clean
#$(MAKE) -s --no-print-directory PLATFORM=ixusW_sd430 PLATFORMSUB=110a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a720 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a650 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a450 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a460 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a550 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s5is PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=tx1 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx100is PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus750_sd550 PLATFORMSUB=100h NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus60_sd600 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus960_sd950 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus80_sd1100 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixusizoom_sd30 PLATFORMSUB=100g NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx10 PLATFORMSUB=102b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=200h NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx1 PLATFORMSUB=201a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus970_sd890 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=101b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a470 PLATFORMSUB=102c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx110is PLATFORMSUB=100b NO_INC_BUILD=1 clean
# $(MAKE) -s --no-print-directory PLATFORM=sx130is PLATFORMSUB=101c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx200is PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus90_sd790 PLATFORMSUB=100d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100j NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g11 PLATFORMSUB=100l NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus100_sd780 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=102c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus120_sd940 PLATFORMSUB=103c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=a480 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s90 PLATFORMSUB=101c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx20 PLATFORMSUB=102d NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus85_sd770 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=d10 PLATFORMSUB=100a NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus95_sd1200 PLATFORMSUB=100c NO_INC_BUILD=1 clean
#$(MAKE) -s --no-print-directory PLATFORM=a430 PLATFORMSUB=100b NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=ixus900_sd900 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100c NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=g12 PLATFORMSUB=100f NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100h NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=sx30 PLATFORMSUB=100l NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100e NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100h NO_INC_BUILD=1 clean
$(MAKE) -s --no-print-directory PLATFORM=s95 PLATFORMSUB=100i NO_INC_BUILD=1 clean
.PHONY: fir upload