forked from accupara/docker-images
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
72 lines (64 loc) · 1.63 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
# Copyright (c) 2016-2024 Crave.io Inc. All rights reserved
SUBDIRS=\
baseimages \
business-cards django-nginx qemu duperemove mozilla chromium sonic mono \
mobile cpython java cncf db \
jobserver stress certbot libdeploy gitstatic coreboot tensorflow diem samba \
ti \
aosp yocto agl \
golang-apps \
tak \
dpdk gcc glibc \
cobol criu
# incomplete or untested: ffmpeg
include $(shell git rev-parse --show-toplevel)/Makefile.subdirs
recreate_all_android:
$(MAKE) -C baseimages/android build push
$(MAKE) -C qt/qt5/android build push
$(MAKE) -C qt/apps/subsurface/android build push
######################################################################
.PHONY: everything_phase1 everything_phase2 everything
everything_phase1:
./useme/build.py -C baseimages/phase1 -j `nproc`
-$(MAKE) -C baseimages/phase1 manifest -k -j `nproc`
everything_phase2: everything_phase1
./useme/build.py -C baseimages/phase2 -j `nproc`
-$(MAKE) -C baseimages/phase2 manifest -k -j `nproc`
everything_dir_protocolbuffers: everything_dir_linuxkernel
everything_dir_agl: everything_dir_yocto
everything_dir_%:
./useme/build.py -C $* -j `nproc`
-$(MAKE) -C $* manifest -k -j `nproc`
DIRS=\
agl \
aosp \
apache \
certbot \
chromium \
cncf \
cpython \
db \
diem \
dpdk \
duperemove \
emscripten \
ffmpeg \
gcc \
glibc \
godotengine \
java \
linuxkernel \
mono \
protocolbuffers \
qemu \
remake \
rsync \
samba \
tak \
tensorflow \
verilator \
yocto
everything_dirs: $(foreach dir,${DIRS},everything_dir_${dir})
everything:
$(MAKE) -j4 everything_phase2
$(MAKE) -j4 everything_dirs