forked from kiddlu/android-platform-knife
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.linux
More file actions
executable file
·34 lines (32 loc) · 1.41 KB
/
Makefile.linux
File metadata and controls
executable file
·34 lines (32 loc) · 1.41 KB
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
# Of course
# Make all if possible
UNAME = $(shell uname -o)
GCCVERSION = $(shell $(CROSS_COMPILE)gcc -v)
.PHONY:all
all:
@echo "Building for $(UNAME)"
@echo "$(GCCVERSION)"
cd external/zlib/ && make -j4 && make install && make clean
cd external/pcre/ && make -j4 && make install && make clean
cd external/libsepol/ && make -j4 && make install && make clean
cd system/core/libmincrypt/ && make -j4 && make install && make clean
cd external/libselinux/ && make -j4 && make install && make clean
cd external/sepolicy/ && make -j4 && make install && make clean
cd system/core/libsparse/ && make -j4 && make install && make clean
cd system/core/mkbootimg/ && make -j4 && make install && make clean
cd system/core/cpio/ && make -j4 && make install && make clean
cd system/core/libzipfile/ && make -j4 && make install && make clean
cd system/extras/ext4_utils/ && make -j4 && make install && make clean
cd system/core/liblog/ && make -j4 && make install && make clean
cd system/core/libcutils/ && make -j4 && make install && make clean
cd system/core/fastboot/ && make -j4 && make install && make clean
#cd prebuild/ && make install
.PHONY:clean
clean:
cd external/zlib/ && make clean
cd system/core/libmincrypt/ && make clean
cd system/core/libsparse/ && make clean
cd system/core/mkbootimg/ && make clean
cd system/core/cpio/ && make clean
cd system/core/libzipfile/ && make clean
cd system/extras/ext4_utils/ && make clean