forked from OpenBricks/openbricks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
116 lines (79 loc) · 2.29 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
META = $(wildcard packages/*/meta)
FLAVOURS = $(wildcard config/flavours/*/meta)
ARCHS = $(wildcard config/platforms/*/meta)
PLATFORMS = $(wildcard config/platforms/*/*/meta)
MACHINES = $(wildcard config/platforms/*/*/machines/*/meta)
SCRIPTS = $(wildcard scripts/*2kconfig)
DEFCONFIGS = $(patsubst config/defconfigs/%.conf,%_defconfig,$(wildcard config/defconfigs/*conf))
all: binaries
.stamps/kconfiginit:
scripts/kconfiginit
config silentoldconfig oldconfig menuconfig nconfig xconfig gconfig: .stamps/kconfiginit build/config/Kconfig.version build/config/Kconfig.arch build/config/Kconfig.platform build/config/Kconfig.machine build/config/Kconfig.flavours build/config/Kconfig.packages build/config/Kconfig.use
scripts/checkdeps $@
scripts/kconfiggenerate $@
scripts/kconfig2options
$(DEFCONFIGS):
scripts/loadcfg $(subst _defconfig,,$@)
cleanconfig:
rm -f build/build.host/kconfig-frontends-*/.config
build/config/Kconfig.version: $(SCRIPTS) VERSION
scripts/version2kconfig
build/config/Kconfig.arch: $(SCRIPTS) $(ARCHS)
scripts/archs2kconfig
build/config/Kconfig.platform: $(SCRIPTS) $(PLATFORMS)
scripts/platforms2kconfig
build/config/Kconfig.machine: $(SCRIPTS) $(MACHINES)
scripts/machines2kconfig
build/config/Kconfig.flavours: $(SCRIPTS) $(FLAVOURS)
scripts/flavours2kconfig
build/config/Kconfig.packages: $(SCRIPTS) config/use $(META)
scripts/meta2kconfig
build/config/Kconfig.use: $(SCRIPTS) config/use $(FLAVOURS)
scripts/use2kconfig
binaries: rootfs
scripts/binaries
rootfs:
scripts/rootfs
jffs2: rootfs
scripts/nand jffs2
ubifs: rootfs
scripts/nand ubifs
doc:
scripts/checkdeps docs
make -C DOCS
docs: doc
iso:
scripts/iso
flat:
scripts/flat
dist:
scripts/dist
generator:
scripts/generator
pxe:
scripts/pxe
vmx:
scripts/vmx build
vmx-play:
scripts/vmx play
qemu: iso
scripts/qemu
sum: iso generator dist fulldist
scripts/sum md5sum
scripts/sum sha1sum
get:
scripts/checkdeps get
scripts/get
test:
scripts/test
savecfg:
scripts/savecfg
clean-doc:
make -C DOCS clean
clean: clean-doc
scripts/clean
quickclean: clean-doc
scripts/clean --quick
distclean: clean-doc
rm -rf .stamps build* sources geexbox* binaries
.PHONY: iso burn dist fulldist generator installator exec clean distclean clean-doc doc docs config %_defconfig oldconfig menuconfig xconfig gconfig