-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.ck
59 lines (41 loc) · 1.15 KB
/
build.ck
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
/*++
Copyright (c) 2014 Minoca Corp.
This file is licensed under the terms of the GNU General Public License
version 3. Alternative licensing terms are available. Contact
[email protected] for details. See the LICENSE file at the root of this
project for complete licensing information.
Module Name:
UEFI
Abstract:
This directory builds UEFI firmware images for several platforms.
Author:
Evan Green 26-Feb-2014
Environment:
Firmware
--*/
from menv import group, mconfig;
function build() {
var arch = mconfig.arch;
var entries;
var platfw;
if (arch == "armv7") {
platfw = [
"uefi/plat/beagbone:bbonefw",
"uefi/plat/beagbone/init:bbonemlo",
"uefi/plat/panda/init:omap4mlo",
"uefi/plat/panda:pandafw",
"uefi/plat/rpi2:rpi2fw",
"uefi/plat/veyron:veyronfw",
];
} else if (arch == "armv6") {
platfw = [
"uefi/plat/rpi:rpifw"
];
} else if (arch == "x86") {
platfw = [
"uefi/plat/bios:biosfw",
];
}
entries = group("platfw", platfw);
return entries;
}