Allow for the build CPU architecture and platform to be specified as part of the make command goals. For example: make bin/rtl8139.rom # Standard i386 PC-BIOS build make bin-efi/rtl8139.efi # i386 EFI build The generic syntax is "bin[-[arch-]platform]", with the default architecture being "i386" (regardless of the host architecture) and the default platform being "pcbios". Non-path targets such as "srcs" can be specified using e.g. make bin-efi srcs Note that this changeset is merely Makefile restructuring to allow the build architecture and platform to be determined by the make command goals, and to export these to compiled code via the ARCH and PLATFORM defines. It doesn't actually introduce any new build platforms.tags/v0.9.6
|
|
||
1 |
|
|
|
|
1 |
|
|
2 |
|
2 |
|
3 |
|
|
|
4 |
|
|
|
5 |
|
|
|
|
3 |
|
|
6 |
|
4 |
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
|
15 |
|
5 |
|
16 |
|
|
|
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
17 |
|
15 |
|
18 |
|
16 |
|
19 |
|
17 |
|
|
|
||
42 |
|
40 |
|
43 |
|
41 |
|
44 |
|
42 |
|
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 |
|
|
|
|
43 |
|
|
100 |
|
44 |
|
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 |
|
45 |
|
127 |
|
46 |
|
|
47 |
|
|
128 |
|
48 |
|
129 |
|
49 |
|
130 |
|
50 |
|
|
|
||
148 |
|
68 |
|
149 |
|
69 |
|
150 |
|
70 |
|
151 |
|
|
|
|
71 |
|
|
152 |
|
72 |
|
153 |
|
73 |
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
|
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 |
|
|
157 |
|
103 |
|
158 |
|
|
|
159 |
|
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
160 |
|
111 |
|
161 |
|
|
|
|
112 |
|
|
162 |
|
113 |
|
163 |
|
|
|
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
|
119 |
|
|
|
120 |
|
|
|
121 |
|
|
|
122 |
|
|
|
123 |
|
|
|
124 |
|
|
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
164 |
|
128 |
|
165 |
|
|
|
|
129 |
|
|
|
130 |
|
|
|
131 |
|
|
166 |
|
132 |
|
167 |
|
|
|
168 |
|
|
|
169 |
|
133 |
|
170 |
|
|
|
171 |
|
134 |
|
172 |
|
135 |
|
|
|
||
1 |
|
1 |
|
2 |
|
|
|
|
2 |
|
|
3 |
|
3 |
|
4 |
|
4 |
|
5 |
|
5 |
|
6 |
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
|
|
|
10 |
|
|
|
|
6 |
|
|
11 |
|
7 |
|
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 |
|
8 |
|
49 |
|
9 |
|
50 |
|
10 |
|
|
|
||
86 |
|
46 |
|
87 |
|
47 |
|
88 |
|
48 |
|
|
49 |
|
|
89 |
|
50 |
|
90 |
|
51 |
|
91 |
|
52 |
|
92 |
|
53 |
|
93 |
|
54 |
|
94 |
|
|
|
|
55 |
|
|
|
56 |
|
|
|
57 |
|
|
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
|
|
|
64 |
|
|
|
65 |
|
|
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
|
69 |
|
|
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
|
74 |
|
|
|
75 |
|
|
|
76 |
|
|
|
77 |
|
|
95 |
|
78 |
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
79 |
|
104 |
|
80 |
|
105 |
|
81 |
|
|
|
||
117 |
|
93 |
|
118 |
|
94 |
|
119 |
|
95 |
|
120 |
|
|
|
|
96 |
|
|
|
97 |
|
|
|
98 |
|
|
|
99 |
|
|
|
100 |
|
|
|
101 |
|
|
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
|
105 |
|
|
|
106 |
|
|
|
107 |
|
|
|
108 |
|
|
|
109 |
|
|
|
110 |
|
|
|
111 |
|
|
121 |
|
112 |
|
122 |
|
|
|
123 |
|
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 |
|
|
124 |
|
237 |
|
|
238 |
|
|
125 |
|
239 |
|
126 |
|
240 |
|
127 |
|
241 |
|
128 |
|
242 |
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
129 |
|
247 |
|
130 |
|
248 |
|
131 |
|
249 |
|
|
|
||
145 |
|
263 |
|
146 |
|
264 |
|
147 |
|
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 |
|
|
148 |
|
327 |
|
149 |
|
328 |
|
150 |
|
329 |
|
|
|
||
158 |
|
337 |
|
159 |
|
338 |
|
160 |
|
339 |
|
161 |
|
|
|
|
340 |
|
|
162 |
|
341 |
|
163 |
|
342 |
|
164 |
|
343 |
|
|
|
||
183 |
|
362 |
|
184 |
|
363 |
|
185 |
|
364 |
|
186 |
|
|
|
|
365 |
|
|
187 |
|
366 |
|
188 |
|
367 |
|
189 |
|
368 |
|
190 |
|
369 |
|
191 |
|
370 |
|
192 |
|
|
|
|
371 |
|
|
193 |
|
372 |
|
194 |
|
373 |
|
195 |
|
374 |
|
|
|
||
206 |
|
385 |
|
207 |
|
386 |
|
208 |
|
387 |
|
|
388 |
|
|
209 |
|
389 |
|
|
390 |
|
|
210 |
|
391 |
|
211 |
|
392 |
|
212 |
|
393 |
|
|
|
||
238 |
|
419 |
|
239 |
|
420 |
|
240 |
|
421 |
|
241 |
|
|
|
|
422 |
|
|
242 |
|
423 |
|
243 |
|
424 |
|
244 |
|
425 |
|
|
|
||
343 |
|
524 |
|
344 |
|
525 |
|
345 |
|
526 |
|
346 |
|
|
|
347 |
|
|
|
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
|
530 |
|
|
|
531 |
|
|
|
532 |
|
|
|
533 |
|
|
348 |
|
534 |
|
349 |
|
535 |
|
350 |
|
536 |
|
|
|
||
397 |
|
583 |
|
398 |
|
584 |
|
399 |
|
585 |
|
400 |
|
|
|
401 |
|
|
|
402 |
|
|
|
403 |
|
|
|
404 |
|
586 |
|
405 |
|
587 |
|
406 |
|
588 |
|
|
|
||
436 |
|
618 |
|
437 |
|
619 |
|
438 |
|
620 |
|
439 |
|
|
|
|
621 |
|
|
440 |
|
622 |
|
441 |
|
623 |
|
442 |
|
624 |
|
|
|
||
460 |
|
642 |
|
461 |
|
643 |
|
462 |
|
644 |
|
|
645 |
|
|
463 |
|
646 |
|
|
647 |
|
|
|
648 |
|
|
|
649 |
|
|
|
650 |
|
|
|
651 |
|
|
|
652 |
|
|
|
653 |
|
|
|
654 |
|
|
|
655 |
|
|
|
656 |
|
|
464 |
|
657 |
|
465 |
|
658 |
|
466 |
|
659 |
|
|
|
||
473 |
|
666 |
|
474 |
|
667 |
|
475 |
|
668 |
|
476 |
|
|
|
|
669 |
|
|
|
670 |
|
|
|
671 |
|
|
477 |
|
672 |
|
478 |
|
|
|
479 |
|
|
|
480 |
|
|
|
481 |
|
|
|
|
673 |
|
|
|
674 |
|
|
|
675 |
|
|
|
676 |
|
|
|
677 |
|
|
|
678 |
|
|
482 |
|
679 |
|
483 |
|
|
|
|
680 |
|
|
|
681 |
|
|
|
682 |
|
|
484 |
|
683 |
|
|
684 |
|
|
|
685 |
|
|
485 |
|
686 |
|
486 |
|
687 |
|
487 |
|
688 |
|
|
|
||
495 |
|
696 |
|
496 |
|
697 |
|
497 |
|
698 |
|
|
699 |
|
|
|
700 |
|
|
498 |
|
701 |
|
499 |
|
702 |
|
500 |
|
703 |
|
|
|
||
518 |
|
721 |
|
519 |
|
722 |
|
520 |
|
723 |
|
521 |
|
|
|
|
724 |
|
|
522 |
|
725 |
|
523 |
|
|
|
524 |
|
|
|
525 |
|
|
|
|
726 |
|
|
|
727 |
|
|
|
728 |
|
|
|
729 |
|
|
526 |
|
730 |
|
527 |
|
|
|
528 |
|
|
|
529 |
|
|
|
|
731 |
|
|
530 |
|
732 |
|
531 |
|
|
|
|
733 |
|
|
532 |
|
734 |
|
533 |
|
|
|
534 |
|
|
|
535 |
|
|
|
536 |
|
|
|
537 |
|
|
|
538 |
|
|
|
|
735 |
|
|
|
736 |
|
|
|
737 |
|
|
|
738 |
|
|
|
739 |
|
|
539 |
|
740 |
|
|
741 |
|
|
|
742 |
|
|
540 |
|
743 |
|
541 |
|
744 |
|
|
745 |
|
|
|
746 |
|
|
|
747 |
|
|
542 |
|
748 |
|
543 |
|
749 |
|
544 |
|
750 |
|
|
|
||
548 |
|
754 |
|
549 |
|
755 |
|
550 |
|
756 |
|
551 |
|
|
|
|
757 |
|
|
|
758 |
|
|
|
759 |
|
|
552 |
|
760 |
|
553 |
|
|
|
554 |
|
|
|
555 |
|
|
|
|
761 |
|
|
|
762 |
|
|
|
763 |
|
|
|
764 |
|
|
556 |
|
765 |
|
|
766 |
|
|
|
767 |
|
|
|
768 |
|
|
|
769 |
|
|
|
770 |
|
|
|
771 |
|
|
|
772 |
|
|
557 |
|
773 |
|
558 |
|
774 |
|
|
775 |
|
|
|
776 |
|
|
|
777 |
|
|
559 |
|
778 |
|
560 |
|
779 |
|
561 |
|
780 |
|
|
|
||
579 |
|
798 |
|
580 |
|
799 |
|
581 |
|
800 |
|
|
801 |
|
|
|
802 |
|
|
|
803 |
|
|
|
804 |
|
|
582 |
|
805 |
|
583 |
|
806 |
|
584 |
|
807 |
|
|
|
||
586 |
|
809 |
|
587 |
|
810 |
|
588 |
|
811 |
|
589 |
|
|
|
590 |
|
|
|
591 |
|
|
|
592 |
|
|
|
593 |
|
|
|
594 |
|
|
|
595 |
|
|
|
596 |
|
|
|
597 |
|
|
|
598 |
|
|
|
599 |
|
|
|
600 |
|
|
|
601 |
|
|
|
602 |
|
|
|
603 |
|
|
|
604 |
|
|
|
|
||
144 |
|
144 |
|
145 |
|
145 |
|
146 |
|
146 |
|
147 |
|
|
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
|
151 |
|
|
|
152 |
|
|
|
153 |
|
|
|
154 |
|
|
|
155 |
|
|
|
156 |
|
|
|
157 |
|
|