-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathMakefile
1172 lines (1112 loc) · 31 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
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
#!/usr/bin/make -f
# Adjust according to the number CPU cores to use for parallel build.
# Default: Number of processors in /proc/cpuinfo, if present, or 1.
NR_CPU := $(shell [ -f /proc/cpuinfo ] && grep -c '^processor\s*:' /proc/cpuinfo || echo 1)
BB_NUMBER_THREADS ?= $(NR_CPU)
PARALLEL_MAKE ?= -j $(NR_CPU)
XSUM ?= md5sum
DISTRO_TYPE ?= release
DISTRO ?= openatv
ONLINECHECK_URL ?= "https://github.com/"
ONLINECHECK_TIMEOUT ?= 2
BUILD_DIR = $(CURDIR)/builds/$(DISTRO)/$(DISTRO_TYPE)/$(MACHINE)
TOPDIR = $(BUILD_DIR)
DL_DIR = $(CURDIR)/sources
SSTATE_DIR = $(CURDIR)/builds/$(DISTRO)/sstate-cache
TMPDIR = $(TOPDIR)/tmp
DEPDIR = $(TOPDIR)/.deps
MACHINEBUILD = $(MACHINE)
export MACHINEBUILD
METAQT=meta-qt5.15
#ifeq ($(MACHINEBUILD),gbquad4k)
#METAQT=meta-qt5.15
#endif
BBLAYERS ?= \
$(CURDIR)/meta-local \
$(CURDIR)/meta-oe-alliance/meta-oe \
$(CURDIR)/openembedded-core/meta \
$(CURDIR)/meta-openembedded/meta-oe \
$(CURDIR)/meta-openembedded/meta-multimedia \
$(CURDIR)/meta-openembedded/meta-networking \
$(CURDIR)/meta-openembedded/meta-filesystems \
$(CURDIR)/meta-openembedded/meta-python \
$(CURDIR)/meta-openembedded/meta-webserver \
$(CURDIR)/meta-python2 \
$(CURDIR)/$(METAQT) \
$(CURDIR)/meta-clang \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-abcom \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-airdigital \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-amiko \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-anadol \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-ax \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-blackbox \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-beyonwiz \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-ceryon \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-dags \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-dinobot \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-dream \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-edision \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-entwopia \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-formuler \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-gfutures \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-gigablue \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-ini \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-maxytec \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-broadmedia \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-odin \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-octagon \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-protek \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-qviart \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-skylake \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-tiviar \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-tripledot \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-uclan \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-ultramini \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-vuplus \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-xp \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-xtrend \
$(CURDIR)/meta-oe-alliance/meta-brands/meta-xcore \
CONFFILES = \
$(TOPDIR)/env.source \
$(TOPDIR)/conf/$(DISTRO).conf \
$(TOPDIR)/conf/bblayers.conf \
$(TOPDIR)/conf/local.conf \
$(TOPDIR)/conf/site.conf
CONFDEPS = \
$(DEPDIR)/.env.source.$(BITBAKE_ENV_HASH) \
$(DEPDIR)/.$(DISTRO).conf.$($(DISTRO)_CONF_HASH) \
$(DEPDIR)/.bblayers.conf.$(BBLAYERS_CONF_HASH) \
$(DEPDIR)/.local.conf.$(LOCAL_CONF_HASH)
GIT ?= git
GIT_REMOTE := $(shell $(GIT) remote)
GIT_USER_NAME := $(shell $(GIT) config user.name)
GIT_USER_EMAIL := $(shell $(GIT) config user.email)
hash = $(shell echo $(1) | $(XSUM) | awk '{print $$1}')
.DEFAULT_GOAL := all
all: init
@echo
@echo "Openembedded for the oe-alliance environment has been initialized"
@echo "properly. Now you can start building your image, by doing either:"
@echo
@echo "MACHINE=mutant2400 DISTRO=openatv DISTRO_TYPE=release make image"
@echo " or"
@echo "cd $(BUILD_DIR) ; source env.source ; bitbake $(DISTRO)-image"
@echo
@echo "To download all sources for image build:"
@echo "MACHINE=mutant2400 DISTRO=openatv DISTRO_TYPE=release make download"
@echo " or"
@echo "cd $(BUILD_DIR) ; source env.source ; bitbake $(DISTRO)-image --runall=fetch"
@echo
@echo "To build image without feed:"
@echo "MACHINE=mutant2400 DISTRO=openatv DISTRO_TYPE=release make enigma2-image"
@echo " or"
@echo "cd $(BUILD_DIR) ; source env.source ; bitbake $(DISTRO)-enigma2-image"
@echo
@echo "To build feeds:"
@echo "MACHINE=mutant2400 DISTRO=openatv DISTRO_TYPE=release make feeds"
@echo " or"
@echo "cd $(BUILD_DIR) ; source env.source ; bitbake $(DISTRO)-feeds"
@echo
$(BBLAYERS):
[ -d $@ ] || $(MAKE) $(MFLAGS) update
setupmbuild:
ifeq ($(MACHINEBUILD),tm2t)
MACHINE=dags7335
MACHINEBUILD=tm2t
else ifeq ($(MACHINEBUILD),tmnano)
MACHINE=dags7335
MACHINEBUILD=tmnano
else ifeq ($(MACHINEBUILD),tmnano2t)
MACHINE=dags7335
MACHINEBUILD=tmnano2t
else ifeq ($(MACHINEBUILD),tmsingle)
MACHINE=dags7335
MACHINEBUILD=tmsingle
else ifeq ($(MACHINEBUILD),tmtwin)
MACHINE=dags7335
MACHINEBUILD=tmtwin
else ifeq ($(MACHINEBUILD),iqonios100hd)
MACHINE=dags7335
MACHINEBUILD=iqonios100hd
else ifeq ($(MACHINEBUILD),iqonios300hd)
MACHINE=dags7335
MACHINEBUILD=iqonios300hd
else ifeq ($(MACHINEBUILD),iqonios300hdv2)
MACHINE=dags7335
MACHINEBUILD=iqonios300hdv2
else ifeq ($(MACHINEBUILD),optimussos1)
MACHINE=dags7335
MACHINEBUILD=optimussos1
else ifeq ($(MACHINEBUILD),mediabox)
MACHINE=dags7335
MACHINEBUILD=mediabox
else ifeq ($(MACHINEBUILD),iqonios200hd)
MACHINE=dags7335
MACHINEBUILD=iqonios200hd
else ifeq ($(MACHINEBUILD),roxxs200hd)
MACHINE=dags7335
MACHINEBUILD=roxxs200hd
else ifeq ($(MACHINEBUILD),mediaart200hd)
MACHINE=dags7335
MACHINEBUILD=mediaart200hd
else ifeq ($(MACHINEBUILD),optimussos2)
MACHINE=dags7335
MACHINEBUILD=optimussos2
else ifeq ($(MACHINEBUILD),tmnano2super)
MACHINE=dags7356
MACHINEBUILD=tmnano2super
else ifeq ($(MACHINEBUILD),tmnano3t)
MACHINE=dags7356
MACHINEBUILD=tmnano3t
else ifeq ($(MACHINEBUILD),tmnanose)
MACHINE=dags7362
MACHINEBUILD=tmnanose
else ifeq ($(MACHINEBUILD),tmnanoseplus)
MACHINE=dags7362
MACHINEBUILD=tmnanoseplus
else ifeq ($(MACHINEBUILD),tmnanosem2)
MACHINE=dags7362
MACHINEBUILD=tmnanosem2
else ifeq ($(MACHINEBUILD),tmnanom3)
MACHINE=dags7362
MACHINEBUILD=tmnanom3
else ifeq ($(MACHINEBUILD),tmnanosem2plus)
MACHINE=dags7362
MACHINEBUILD=tmnanosem2plus
else ifeq ($(MACHINEBUILD),tmnanosecombo)
MACHINE=dags7362
MACHINEBUILD=tmnanosecombo
else ifeq ($(MACHINEBUILD),force1)
MACHINE=dags7356
MACHINEBUILD=force1
else ifeq ($(MACHINEBUILD),force1plus)
MACHINE=dags7356
MACHINEBUILD=force1plus
else ifeq ($(MACHINEBUILD),megaforce1plus)
MACHINE=dags7356
MACHINEBUILD=megaforce1plus
else ifeq ($(MACHINEBUILD),worldvisionf1)
MACHINE=dags7356
MACHINEBUILD=worldvisionf1
else ifeq ($(MACHINEBUILD),worldvisionf1plus)
MACHINE=dags7356
MACHINEBUILD=worldvisionf1plus
else ifeq ($(MACHINEBUILD),optimussos1plus)
MACHINE=dags7356
MACHINEBUILD=optimussos1plus
else ifeq ($(MACHINEBUILD),optimussos2plus)
MACHINE=dags7356
MACHINEBUILD=optimussos2plus
else ifeq ($(MACHINEBUILD),optimussos3plus)
MACHINE=dags7356
MACHINEBUILD=optimussos3plus
else ifeq ($(MACHINEBUILD),force2plus)
MACHINE=dags7362
MACHINEBUILD=force2plus
else ifeq ($(MACHINEBUILD),force2)
MACHINE=dags7362
MACHINEBUILD=force2
else ifeq ($(MACHINEBUILD),force2se)
MACHINE=dags7362
MACHINEBUILD=force2se
else ifeq ($(MACHINEBUILD),megaforce2)
MACHINE=dags7362
MACHINEBUILD=megaforce2
else ifeq ($(MACHINEBUILD),optimussos)
MACHINE=dags7362
MACHINEBUILD=optimussos
else ifeq ($(MACHINEBUILD),fusionhd)
MACHINE=dags7362
MACHINEBUILD=fusionhd
else ifeq ($(MACHINEBUILD),fusionhdse)
MACHINE=dags7362
MACHINEBUILD=fusionhdse
else ifeq ($(MACHINEBUILD),purehd)
MACHINE=dags7362
MACHINEBUILD=purehd
else ifeq ($(MACHINEBUILD),force2nano)
MACHINE=dags7362
MACHINEBUILD=force2nano
else ifeq ($(MACHINEBUILD),force2plushv)
MACHINE=dags73625
MACHINEBUILD=force2plushv
else ifeq ($(MACHINEBUILD),purehdse)
MACHINE=dags73625
MACHINEBUILD=purehdse
else ifeq ($(MACHINEBUILD),force3uhdplus)
MACHINE=dags7252
MACHINEBUILD=force3uhdplus
else ifeq ($(MACHINEBUILD),force3uhd)
MACHINE=dags7252
MACHINEBUILD=force3uhd
else ifeq ($(MACHINEBUILD),revo4k)
MACHINE=dags7252
MACHINEBUILD=revo4k
else ifeq ($(MACHINEBUILD),tmtwin4k)
MACHINE=dags7252
MACHINEBUILD=tmtwin4k
else ifeq ($(MACHINEBUILD),galaxy4k)
MACHINE=dags7252
MACHINEBUILD=galaxy4k
else ifeq ($(MACHINEBUILD),tm4ksuper)
MACHINE=dags7252
MACHINEBUILD=tm4ksuper
else ifeq ($(MACHINEBUILD),valalinux)
MACHINE=dags7362
MACHINEBUILD=valalinux
else ifeq ($(MACHINEBUILD),lunix34k)
MACHINE=dags7252
MACHINEBUILD=lunix34k
else ifeq ($(MACHINEBUILD),lunix)
MACHINE=dags73625
MACHINEBUILD=lunix
else ifeq ($(MACHINEBUILD),lunixco)
MACHINE=dags73625
MACHINEBUILD=lunixco
else ifeq ($(MACHINEBUILD),force4)
MACHINE=dags72604
MACHINEBUILD=force4
else ifeq ($(MACHINEBUILD),lunix4k)
MACHINE=dags72604
MACHINEBUILD=lunix4k
else ifeq ($(MACHINEBUILD),dual)
MACHINE=dagsmv200
MACHINEBUILD=dual
else ifeq ($(MACHINEBUILD),classm)
MACHINE=odinm7
MACHINEBUILD=classm
else ifeq ($(MACHINEBUILD),axodin)
MACHINE=odinm7
MACHINEBUILD=axodin
else ifeq ($(MACHINEBUILD),axodinc)
MACHINE=odinm7
MACHINEBUILD=axodinc
else ifeq ($(MACHINEBUILD),starsatlx)
MACHINE=odinm7
MACHINEBUILD=starsatlx
else ifeq ($(MACHINEBUILD),genius)
MACHINE=odinm7
MACHINEBUILD=genius
else ifeq ($(MACHINEBUILD),evo)
MACHINE=odinm7
MACHINEBUILD=evo
else ifeq ($(MACHINEBUILD),galaxym6)
MACHINE=odinm7
MACHINEBUILD=galaxym6
else ifeq ($(MACHINEBUILD),maram9)
MACHINE=odinm9
MACHINEBUILD=maram9
else ifeq ($(MACHINEBUILD),geniuse3hd)
MACHINE=e3hd
MACHINEBUILD=geniuse3hd
else ifeq ($(MACHINEBUILD),evoe3hd)
MACHINE=e3hd
MACHINEBUILD=evoe3hd
else ifeq ($(MACHINEBUILD),axase3)
MACHINE=e3hd
MACHINEBUILD=axase3
else ifeq ($(MACHINEBUILD),axase3c)
MACHINE=e3hd
MACHINEBUILD=axase3c
else ifeq ($(MACHINEBUILD),ventonhdx)
MACHINE=inihdx
MACHINEBUILD=ventonhdx
else ifeq ($(MACHINEBUILD),sezam5000hd)
MACHINE=inihdx
MACHINEBUILD=sezam5000hd
else ifeq ($(MACHINEBUILD),mbtwin)
MACHINE=inihdx
MACHINEBUILD=mbtwin
else ifeq ($(MACHINEBUILD),beyonwizt3)
MACHINE=inihdx
MACHINEBUILD=beyonwizt3
else ifeq ($(MACHINEBUILD),sezam1000hd)
MACHINE=inihde
MACHINEBUILD=sezam1000hd
else ifeq ($(MACHINEBUILD),xpeedlx1)
MACHINE=inihde
MACHINEBUILD=xpeedlx1
else ifeq ($(MACHINEBUILD),xpeedlx2)
MACHINE=inihde
MACHINEBUILD=xpeedlx2
else ifeq ($(MACHINEBUILD),mbmini)
MACHINE=inihde
MACHINEBUILD=mbmini
else ifeq ($(MACHINEBUILD),atemio5x00)
MACHINE=inihde
MACHINEBUILD=atemio5x00
else ifeq ($(MACHINEBUILD),bwidowx)
MACHINE=inihde
MACHINEBUILD=bwidowx
else ifeq ($(MACHINEBUILD),atemio6000)
MACHINE=inihde2
MACHINEBUILD=atemio6000
else ifeq ($(MACHINEBUILD),atemio6100)
MACHINE=inihde2
MACHINEBUILD=atemio6100
else ifeq ($(MACHINEBUILD),atemio6200)
MACHINE=inihde2
MACHINEBUILD=atemio6200
else ifeq ($(MACHINEBUILD),mbminiplus)
MACHINE=inihde2
MACHINEBUILD=mbminiplus
else ifeq ($(MACHINEBUILD),mbhybrid)
MACHINE=inihde2
MACHINEBUILD=mbhybrid
else ifeq ($(MACHINEBUILD),bwidowx2)
MACHINE=inihde2
MACHINEBUILD=bwidowx2
else ifeq ($(MACHINEBUILD),beyonwizt2)
MACHINE=inihde2
MACHINEBUILD=beyonwizt2
else ifeq ($(MACHINEBUILD),opticumtt)
MACHINE=inihde2
MACHINEBUILD=opticumtt
else ifeq ($(MACHINEBUILD),evoslim)
MACHINE=inihde2
MACHINEBUILD=evoslim
else ifeq ($(MACHINEBUILD),sezammarvel)
MACHINE=inihdp
MACHINEBUILD=sezammarvel
else ifeq ($(MACHINEBUILD),xpeedlx3)
MACHINE=inihdp
MACHINEBUILD=xpeedlx3
else ifeq ($(MACHINEBUILD),atemionemesis)
MACHINE=inihdp
MACHINEBUILD=atemionemesis
else ifeq ($(MACHINEBUILD),mbultra)
MACHINE=inihdp
MACHINEBUILD=mbultra
else ifeq ($(MACHINEBUILD),beyonwizt4)
MACHINE=inihdp
MACHINEBUILD=beyonwizt4
else ifeq ($(MACHINEBUILD),xp1000mk)
MACHINE=xp1000
MACHINEBUILD=xp1000mk
else ifeq ($(MACHINEBUILD),xp1000max)
MACHINE=xp1000
MACHINEBUILD=xp1000max
else ifeq ($(MACHINEBUILD),sf8)
MACHINE=xp1000
MACHINEBUILD=sf8
else ifeq ($(MACHINEBUILD),xp1000plus)
MACHINE=xp1000
MACHINEBUILD=xp1000plus
else ifeq ($(MACHINEBUILD),sogno8800hd)
MACHINE=blackbox7405
MACHINEBUILD=sogno8800hd
else ifeq ($(MACHINEBUILD),uniboxhde)
MACHINE=blackbox7405
MACHINEBUILD=uniboxhde
else ifeq ($(MACHINEBUILD),enfinity)
MACHINE=ew7358
MACHINEBUILD=enfinity
else ifeq ($(MACHINEBUILD),marvel1)
MACHINE=ew7358
MACHINEBUILD=marvel1
else ifeq ($(MACHINEBUILD),x2plus)
MACHINE=ew7356
MACHINEBUILD=x2plus
else ifeq ($(MACHINEBUILD),bre2ze)
MACHINE=ew7362
MACHINEBUILD=bre2ze
else ifeq ($(MACHINEBUILD),evomini)
MACHINE=ch62lc
MACHINEBUILD=evomini
else ifeq ($(MACHINEBUILD),evominiplus)
MACHINE=ch625lc
MACHINEBUILD=evominiplus
else ifeq ($(MACHINEBUILD),vipert2c)
MACHINE=yh625tc
MACHINEBUILD=vipert2c
else ifeq ($(MACHINEBUILD),vipercombo)
MACHINE=yh625dt
MACHINEBUILD=vipercombo
else ifeq ($(MACHINEBUILD),vipercombohdd)
MACHINE=ch625dt
MACHINEBUILD=vipercombohdd
else ifeq ($(MACHINEBUILD),viperslim)
MACHINE=yh73625
MACHINEBUILD=viperslim
else ifeq ($(MACHINEBUILD),mutant2400)
MACHINE=hd2400
MACHINEBUILD=mutant2400
else ifeq ($(MACHINEBUILD),quadbox2400)
MACHINE=hd2400
MACHINEBUILD=quadbox2400
else ifeq ($(MACHINEBUILD),mutant11)
MACHINE=hd11
MACHINEBUILD=mutant11
else ifeq ($(MACHINEBUILD),mutant1100)
MACHINE=hd1100
MACHINEBUILD=mutant1100
else ifeq ($(MACHINEBUILD),mutant1265)
MACHINE=hd1265
MACHINEBUILD=mutant1265
else ifeq ($(MACHINEBUILD),mutant1500)
MACHINE=hd1500
MACHINEBUILD=mutant1500
else ifeq ($(MACHINEBUILD),vizyonvita)
MACHINE=hd1100
MACHINEBUILD=vizyonvita
else ifeq ($(MACHINEBUILD),mutant1200)
MACHINE=hd1200
MACHINEBUILD=mutant1200
else ifeq ($(MACHINEBUILD),mutant500c)
MACHINE=hd500c
MACHINEBUILD=mutant500c
else ifeq ($(MACHINEBUILD),mutant530c)
MACHINE=hd530c
MACHINEBUILD=mutant530c
else ifeq ($(MACHINEBUILD),mutant51)
MACHINE=hd51
MACHINEBUILD=mutant51
else ifeq ($(MACHINEBUILD),mutant60)
MACHINE=hd60
MACHINEBUILD=mutant60
else ifeq ($(MACHINEBUILD),mutant66se)
MACHINE=hd66se
MACHINEBUILD=mutant66se
else ifeq ($(MACHINEBUILD),ax61)
MACHINE=hd61
MACHINEBUILD=ax61
else ifeq ($(MACHINEBUILD),ax51)
MACHINE=hd51
MACHINEBUILD=ax51
else ifeq ($(MACHINEBUILD),ax60)
MACHINE=hd60
MACHINEBUILD=ax60
else ifeq ($(MACHINEBUILD),axultra)
MACHINE=hd51
MACHINEBUILD=axultra
else ifeq ($(MACHINEBUILD),bre2ze4k)
MACHINE=hd51
MACHINEBUILD=bre2ze4k
else ifeq ($(MACHINEBUILD),vimastec1500)
MACHINE=vs1500
MACHINEBUILD=vimastec1500
else ifeq ($(MACHINEBUILD),vimastec1000)
MACHINE=vs1000
MACHINEBUILD=vimastec1000
else ifeq ($(MACHINEBUILD),sf98)
MACHINE=yh7362
MACHINEBUILD=sf98
else ifeq ($(MACHINEBUILD),evoslimse)
MACHINE=yh7362
MACHINEBUILD=evoslimse
else ifeq ($(MACHINEBUILD),evoslimt2c)
MACHINE=yh62tc
MACHINEBUILD=evoslimt2c
else ifeq ($(MACHINEBUILD),t2cable)
MACHINE=jj7362
MACHINEBUILD=t2cable
else ifeq ($(MACHINEBUILD),enibox)
MACHINE=vg5000
MACHINEBUILD=enibox
else ifeq ($(MACHINEBUILD),mago)
MACHINE=vg5000
MACHINEBUILD=mago
else ifeq ($(MACHINEBUILD),x1plus)
MACHINE=vg5000
MACHINEBUILD=x1plus
else ifeq ($(MACHINEBUILD),sf108)
MACHINE=vg5000
MACHINEBUILD=sf108
else ifeq ($(MACHINEBUILD),tyrant)
MACHINE=vg1000
MACHINEBUILD=tyrant
else ifeq ($(MACHINEBUILD),xcombo)
MACHINE=vg2000
MACHINEBUILD=xcombo
else ifeq ($(MACHINEBUILD),zgemmash1)
MACHINE=sh1
MACHINEBUILD=zgemmash1
else ifeq ($(MACHINEBUILD),zgemmash2)
MACHINE=sh1
MACHINEBUILD=zgemmash2
else ifeq ($(MACHINEBUILD),zgemmas2s)
MACHINE=sh1
MACHINEBUILD=zgemmas2s
else ifeq ($(MACHINEBUILD),zgemmass)
MACHINE=sh1
MACHINEBUILD=zgemmass
else ifeq ($(MACHINEBUILD),zgemmahs)
MACHINE=h3
MACHINEBUILD=zgemmahs
else ifeq ($(MACHINEBUILD),zgemmah2s)
MACHINE=h3
MACHINEBUILD=zgemmah2s
else ifeq ($(MACHINEBUILD),zgemmah2h)
MACHINE=h3
MACHINEBUILD=zgemmah2h
else ifeq ($(MACHINEBUILD),zgemmah32tc)
MACHINE=h3
MACHINEBUILD=zgemmah32tc
else ifeq ($(MACHINEBUILD),zgemmaslc)
MACHINE=lc
MACHINEBUILD=zgemmaslc
else ifeq ($(MACHINEBUILD),zgemmah5)
MACHINE=h5
MACHINEBUILD=zgemmah5
else ifeq ($(MACHINEBUILD),zgemmah52s)
MACHINE=h5
MACHINEBUILD=zgemmah52s
else ifeq ($(MACHINEBUILD),zgemmah52tc)
MACHINE=h5
MACHINEBUILD=zgemmah52tc
else ifeq ($(MACHINEBUILD),zgemmai55)
MACHINE=i55
MACHINEBUILD=zgemmai55
else ifeq ($(MACHINEBUILD),novaip)
MACHINE=i55
MACHINEBUILD=novaip
else ifeq ($(MACHINEBUILD),novacombo)
MACHINE=h3
MACHINEBUILD=novacombo
else ifeq ($(MACHINEBUILD),novatwin)
MACHINE=h3
MACHINEBUILD=novatwin
else ifeq ($(MACHINEBUILD),zgemmah3ac)
MACHINE=h3
MACHINEBUILD=zgemmah3ac
else ifeq ($(MACHINEBUILD),zgemmah4)
MACHINE=h4
MACHINEBUILD=zgemmah4
else ifeq ($(MACHINEBUILD),zgemmah5ac)
MACHINE=h5
MACHINEBUILD=zgemmah5ac
else ifeq ($(MACHINEBUILD),zgemmah52splus)
MACHINE=h5
MACHINEBUILD=zgemmah52splus
else ifeq ($(MACHINEBUILD),zgemmah2splus)
MACHINE=h3
MACHINEBUILD=zgemmah2splus
else ifeq ($(MACHINEBUILD),zgemmah7)
MACHINE=h7
MACHINEBUILD=zgemmah7
else ifeq ($(MACHINEBUILD),zgemmah17combo)
MACHINE=h17
MACHINEBUILD=zgemmah17combo
else ifeq ($(MACHINEBUILD),zgemmah6)
MACHINE=h6
MACHINEBUILD=zgemmah6
else ifeq ($(MACHINEBUILD),zgemmah82h)
MACHINE=h8
MACHINEBUILD=zgemmah82h
else ifeq ($(MACHINEBUILD),zgemmah9s)
MACHINE=h9
MACHINEBUILD=zgemmah9s
else ifeq ($(MACHINEBUILD),zgemmah9t)
MACHINE=h9
MACHINEBUILD=zgemmah9t
else ifeq ($(MACHINEBUILD),zgemmah92s)
MACHINE=h9
MACHINEBUILD=zgemmah92s
else ifeq ($(MACHINEBUILD),zgemmah92h)
MACHINE=h9
MACHINEBUILD=zgemmah92h
else ifeq ($(MACHINEBUILD),zgemmah9splus)
MACHINE=h9
MACHINEBUILD=zgemmah9splus
else ifeq ($(MACHINEBUILD),zgemmai55plus)
MACHINE=i55plus
MACHINEBUILD=zgemmai55plus
else ifeq ($(MACHINEBUILD),zgemmah9combo)
MACHINE=h9combo
MACHINEBUILD=zgemmah9combo
else ifeq ($(MACHINEBUILD),zgemmah9twin)
MACHINE=h9combo
MACHINEBUILD=zgemmah9twin
else ifeq ($(MACHINEBUILD),zgemmah10combo)
MACHINE=h10
MACHINEBUILD=zgemmah10combo
else ifeq ($(MACHINEBUILD),zgemmah102h)
MACHINE=h10
MACHINEBUILD=zgemmah102h
else ifeq ($(MACHINEBUILD),zgemmah102s)
MACHINE=h10
MACHINEBUILD=zgemmah102s
else ifeq ($(MACHINEBUILD),zgemmah11s)
MACHINE=h11
MACHINEBUILD=zgemmah11s
else ifeq ($(MACHINEBUILD),zgemmah112h)
MACHINE=h11
MACHINEBUILD=zgemmah112h
else ifeq ($(MACHINEBUILD),zgemmahzeros)
MACHINE=hzero
MACHINEBUILD=zgemmahzeros
else ifeq ($(MACHINEBUILD),zgemmah9combose)
MACHINE=h9combose
MACHINEBUILD=zgemmah9combose
else ifeq ($(MACHINEBUILD),zgemmah9twinse)
MACHINE=h9combose
MACHINEBUILD=zgemmah9twinse
else ifeq ($(MACHINEBUILD),zgemmah92hse)
MACHINE=h9se
MACHINEBUILD=zgemmah92hse
else ifeq ($(MACHINEBUILD),zgemmah9sse)
MACHINE=h9se
MACHINEBUILD=zgemmah9sse
else ifeq ($(MACHINEBUILD),zgemmai55se)
MACHINE=i55se
MACHINEBUILD=zgemmai55se
else ifeq ($(MACHINEBUILD),mbmicro)
MACHINE=7000s
MACHINEBUILD=mbmicro
else ifeq ($(MACHINEBUILD),mbmicrov2)
MACHINE=7005s
MACHINEBUILD=mbmicrov2
else ifeq ($(MACHINEBUILD),e4hd)
MACHINE=7000s
MACHINEBUILD=e4hd
else ifeq ($(MACHINEBUILD),e4hdhybrid)
MACHINE=7000s
MACHINEBUILD=e4hdhybrid
else ifeq ($(MACHINEBUILD),twinboxlcd)
MACHINE=7100s
MACHINEBUILD=twinboxlcd
else ifeq ($(MACHINEBUILD),singleboxlcd)
MACHINE=7100s
MACHINEBUILD=singleboxlcd
else ifeq ($(MACHINEBUILD),sf208)
MACHINE=7210s
MACHINEBUILD=sf208
else ifeq ($(MACHINEBUILD),sf228)
MACHINE=7210s
MACHINEBUILD=sf228
else ifeq ($(MACHINEBUILD),9910lx)
MACHINE=7220s
MACHINEBUILD=9910lx
else ifeq ($(MACHINEBUILD),odin2hybrid)
MACHINE=7300s
MACHINEBUILD=odin2hybrid
else ifeq ($(MACHINEBUILD),odinplus)
MACHINE=7400s
MACHINEBUILD=odinplus
else ifeq ($(MACHINEBUILD),9911lx)
MACHINE=7225s
MACHINEBUILD=9911lx
else ifeq ($(MACHINEBUILD),9920lx)
MACHINE=7225s
MACHINEBUILD=9920lx
else ifeq ($(MACHINEBUILD),e4hdcombo)
MACHINE=7225s
MACHINEBUILD=e4hdcombo
else ifeq ($(MACHINEBUILD),sf238)
MACHINE=7215s
MACHINEBUILD=sf238
else ifeq ($(MACHINEBUILD),twinboxlcdci5)
MACHINE=7105s
MACHINEBUILD=twinboxlcdci5
else ifeq ($(MACHINEBUILD),e4hdultra)
MACHINE=8100s
MACHINEBUILD=e4hdultra
else ifeq ($(MACHINEBUILD),protek4k)
MACHINE=8100s
MACHINEBUILD=protek4k
else ifeq ($(MACHINEBUILD),mbtwinplus)
MACHINE=g300
MACHINEBUILD=mbtwinplus
else ifeq ($(MACHINEBUILD),sf3038)
MACHINE=g300
MACHINEBUILD=sf3038
else ifeq ($(MACHINEBUILD),alphatriple)
MACHINE=g300
MACHINEBUILD=alphatriple
else ifeq ($(MACHINEBUILD),sf128)
MACHINE=g100
MACHINEBUILD=sf128
else ifeq ($(MACHINEBUILD),sf138)
MACHINE=g100
MACHINEBUILD=sf138
else ifeq ($(MACHINEBUILD),bre2zet2c)
MACHINE=g101
MACHINEBUILD=bre2zet2c
else ifeq ($(MACHINEBUILD),spycat)
MACHINE=xc7362
MACHINEBUILD=spycat
else ifeq ($(MACHINEBUILD),spycatmini)
MACHINE=xc7362
MACHINEBUILD=spycatmini
else ifeq ($(MACHINEBUILD),spycatminiplus)
MACHINE=xc7362
MACHINEBUILD=spycatminiplus
else ifeq ($(MACHINEBUILD),osmini)
MACHINE=xc7362
MACHINEBUILD=osmini
else ifeq ($(MACHINEBUILD),osminiplus)
MACHINE=xc7362
MACHINEBUILD=osminiplus
else ifeq ($(MACHINEBUILD),osmega)
MACHINE=xc7346
MACHINEBUILD=osmega
else ifeq ($(MACHINEBUILD),gb800se)
MACHINE=gb7325
MACHINEBUILD=gb800se
else ifeq ($(MACHINEBUILD),gb800ue)
MACHINE=gb7325
MACHINEBUILD=gb800ue
else ifeq ($(MACHINEBUILD),gb800seplus)
MACHINE=gb7358
MACHINEBUILD=gb800seplus
else ifeq ($(MACHINEBUILD),gb800ueplus)
MACHINE=gb7358
MACHINEBUILD=gb800ueplus
else ifeq ($(MACHINEBUILD),gbipbox)
MACHINE=gb7358
MACHINEBUILD=gbipbox
else ifeq ($(MACHINEBUILD),gbultrase)
MACHINE=gb7362
MACHINEBUILD=gbultrase
else ifeq ($(MACHINEBUILD),gbultraue)
MACHINE=gb7362
MACHINEBUILD=gbultraue
else ifeq ($(MACHINEBUILD),gbultraueh)
MACHINE=gb73625
MACHINEBUILD=gbultraueh
else ifeq ($(MACHINEBUILD),gbx1)
MACHINE=gb7362
MACHINEBUILD=gbx1
else ifeq ($(MACHINEBUILD),gbx2)
MACHINE=gb73625
MACHINEBUILD=gbx2
else ifeq ($(MACHINEBUILD),gbx3)
MACHINE=gb7362
MACHINEBUILD=gbx3
else ifeq ($(MACHINEBUILD),gbx3h)
MACHINE=gb73625
MACHINEBUILD=gbx3h
else ifeq ($(MACHINEBUILD),gbquad)
MACHINE=gb7356
MACHINEBUILD=gbquad
else ifeq ($(MACHINEBUILD),gbquadplus)
MACHINE=gb7356
MACHINEBUILD=gbquadplus
else ifeq ($(MACHINEBUILD),gbquad4k)
MACHINE=gb7252
MACHINEBUILD=gbquad4k
else ifeq ($(MACHINEBUILD),gbquad4kpro)
MACHINE=gb7252
MACHINEBUILD=gbquad4kpro
else ifeq ($(MACHINEBUILD),gbue4k)
MACHINE=gb7252
MACHINEBUILD=gbue4k
else ifeq ($(MACHINEBUILD),gbx34k)
MACHINE=gb72604
MACHINEBUILD=gbx34k
else ifeq ($(MACHINEBUILD),gbtrio4k)
MACHINE=gbmv200
MACHINEBUILD=gbtrio4k
else ifeq ($(MACHINEBUILD),gbtrio4kpro)
MACHINE=gbmv200
MACHINEBUILD=gbtrio4kpro
else ifeq ($(MACHINEBUILD),gbip4k)
MACHINE=gbmv200
MACHINEBUILD=gbip4k
else ifeq ($(MACHINEBUILD),xpeedlxcs2)
MACHINE=ultramini
MACHINEBUILD=xpeedlxcs2
else ifeq ($(MACHINEBUILD),xpeedlxcc)
MACHINE=ultramini
MACHINEBUILD=xpeedlxcc
else ifeq ($(MACHINEBUILD),et7x00mini)
MACHINE=ultramini
MACHINEBUILD=et7x00mini
else ifeq ($(MACHINEBUILD),gi11000)
MACHINE=et1x000
MACHINEBUILD=gi11000
else ifeq ($(MACHINEBUILD),viper4k51)
MACHINE=et1x000
MACHINEBUILD=viper4k51
else ifeq ($(MACHINEBUILD),beyonwizu4)
MACHINE=et13000
MACHINEBUILD=beyonwizu4
else ifeq ($(MACHINEBUILD),anadol4k)
MACHINE=u5
MACHINEBUILD=anadol4k
else ifeq ($(MACHINEBUILD),anadol4kv2)
MACHINE=u51
MACHINEBUILD=anadol4kv2
else ifeq ($(MACHINEBUILD),anadol4kcombo)
MACHINE=u51
MACHINEBUILD=anadol4kcombo
else ifeq ($(MACHINEBUILD),axashis4kcombo)
MACHINE=u51
MACHINEBUILD=axashis4kcombo
else ifeq ($(MACHINEBUILD),dinobot4kl)
MACHINE=u51
MACHINEBUILD=dinobot4kl
else ifeq ($(MACHINEBUILD),protek4kx1)
MACHINE=u51
MACHINEBUILD=protek4kx1
else ifeq ($(MACHINEBUILD),dinobot4k)
MACHINE=u5
MACHINEBUILD=dinobot4k
else ifeq ($(MACHINEBUILD),mediabox4k)
MACHINE=u5
MACHINEBUILD=mediabox4k
else ifeq ($(MACHINEBUILD),dinobot4kse)
MACHINE=u5pvr
MACHINEBUILD=dinobot4kse
else ifeq ($(MACHINEBUILD),ferguson4k)
MACHINE=u5pvr
MACHINEBUILD=ferguson4k
else ifeq ($(MACHINEBUILD),dinobot4kplus)
MACHINE=u52
MACHINEBUILD=dinobot4kplus
else ifeq ($(MACHINEBUILD),axashis4kcomboplus)
MACHINE=u52
MACHINEBUILD=axashis4kcomboplus
else ifeq ($(MACHINEBUILD),dinobot4kmini)
MACHINE=u53
MACHINEBUILD=dinobot4kmini
else ifeq ($(MACHINEBUILD),arivacombo)
MACHINE=u532
MACHINEBUILD=arivacombo
else ifeq ($(MACHINEBUILD),arivatwin)
MACHINE=u533
MACHINEBUILD=arivatwin
else ifeq ($(MACHINEBUILD),dinobot4kpro)
MACHINE=u54
MACHINEBUILD=dinobot4kpro
else ifeq ($(MACHINEBUILD),dinobotu55)
MACHINE=u55
MACHINEBUILD=dinobotu55
else ifeq ($(MACHINEBUILD),iziboxone4k)
MACHINE=u55
MACHINEBUILD=iziboxone4k
else ifeq ($(MACHINEBUILD),hitube4k)
MACHINE=u55
MACHINEBUILD=hitube4k
else ifeq ($(MACHINEBUILD),iziboxx3)
MACHINE=u55
MACHINEBUILD=iziboxx3
else ifeq ($(MACHINEBUILD),axashisc4k)
MACHINE=u56
MACHINEBUILD=axashisc4k
else ifeq ($(MACHINEBUILD),dinobot4kelite)
MACHINE=u56
MACHINEBUILD=dinobot4kelite
else ifeq ($(MACHINEBUILD),iziboxx4)
MACHINE=u57
MACHINEBUILD=iziboxx4
else ifeq ($(MACHINEBUILD),viper4kv20)
MACHINE=u57
MACHINEBUILD=viper4kv20
else ifeq ($(MACHINEBUILD),viper4kv30)
MACHINE=u57
MACHINEBUILD=viper4kv30
else ifeq ($(MACHINEBUILD),protek4kx2)
MACHINE=u57
MACHINEBUILD=protek4kx2
else ifeq ($(MACHINEBUILD),iziboxelite4k)
MACHINE=u57
MACHINEBUILD=iziboxelite4k
else ifeq ($(MACHINEBUILD),dinobot4ktwin)
MACHINE=u57
MACHINEBUILD=dinobot4ktwin
else ifeq ($(MACHINEBUILD),hitube4kpro)
MACHINE=u57
MACHINEBUILD=hitube4kpro
else ifeq ($(MACHINEBUILD),hitube4kplus)
MACHINE=u57
MACHINEBUILD=hitube4kplus
else ifeq ($(MACHINEBUILD),viper4kv40)
MACHINE=u571
MACHINEBUILD=viper4kv40
else ifeq ($(MACHINEBUILD),iziboxone4kplus)
MACHINE=u571
MACHINEBUILD=iziboxone4kplus
else ifeq ($(MACHINEBUILD),axas4kcombo)
MACHINE=u571
MACHINEBUILD=axas4kcombo
else ifeq ($(MACHINEBUILD),axas4ktwin)
MACHINE=u571
MACHINEBUILD=axas4ktwin
else ifeq ($(MACHINEBUILD),dinoboth265)
MACHINE=u41
MACHINEBUILD=dinoboth265
else ifeq ($(MACHINEBUILD),axashistwin)
MACHINE=u41
MACHINEBUILD=axashistwin
else ifeq ($(MACHINEBUILD),anadolprohd5)
MACHINE=u42
MACHINEBUILD=anadolprohd5
else ifeq ($(MACHINEBUILD),spycatminiv2)
MACHINE=u42
MACHINEBUILD=spycatminiv2
else ifeq ($(MACHINEBUILD),iziboxecohd)
MACHINE=u42
MACHINEBUILD=iziboxecohd
else ifeq ($(MACHINEBUILD),jdhdduo)
MACHINE=u42
MACHINEBUILD=jdhdduo
else ifeq ($(MACHINEBUILD),vipertwin)
MACHINE=u42
MACHINEBUILD=vipertwin
else ifeq ($(MACHINEBUILD),vipersingle)
MACHINE=u42
MACHINEBUILD=vipersingle
else ifeq ($(MACHINEBUILD),turing)
MACHINE=u43
MACHINEBUILD=turing
else ifeq ($(MACHINEBUILD),axashistwinplus)
MACHINE=u45
MACHINEBUILD=axashistwinplus
else ifeq ($(MACHINEBUILD),clap4k)
MACHINE=cc1
MACHINEBUILD=clap4k
else ifeq ($(MACHINEBUILD),maxytecmulti)
MACHINE=multibox
MACHINEBUILD=maxytecmulti
else ifeq ($(MACHINEBUILD),anadolmulti)
MACHINE=multibox
MACHINEBUILD=anadolmulti