This repository has been archived by the owner on Dec 24, 2021. It is now read-only.
forked from anarsoul/linux-build
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Makefile
111 lines (81 loc) · 5.58 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
export RELEASE_NAME ?= $(shell date +%Y%m%d)
######################################################
#### ALLWINNER PLATFORM, PINE64 PINEPHONE/PINETAB ####
######################################################
rootfs-pinetab-barebone-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinetab-barebone-$(RELEASE_NAME) $@ pinetab-barebone
rootfs-pinephone-barebone-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-barebone-$(RELEASE_NAME) $@ pinephone-barebone
rootfs-pinetab-phosh-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinetab-phosh-$(RELEASE_NAME) $@ pinetab-phosh
rootfs-pinephone-phosh-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-phosh-$(RELEASE_NAME) $@ pinephone-phosh
rootfs-pinetab-plasma-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinetab-plasma-$(RELEASE_NAME) $@ pinetab-plasma
rootfs-pinephone-plasma-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-plasma-$(RELEASE_NAME) $@ pinephone-plasma
rootfs-pinetab-sxmo-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinetab-sxmo-$(RELEASE_NAME) $@ pinetab-sxmo
rootfs-pinephone-sxmo-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-sxmo-$(RELEASE_NAME) $@ pinephone-sxmo
archlinux-pinetab-barebone-$(RELEASE_NAME).img: rootfs-pinetab-barebone-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 2048M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinetab-528.bin
archlinux-pinephone-barebone-$(RELEASE_NAME).img: rootfs-pinephone-barebone-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 2048M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinephone-528.bin
archlinux-pinetab-phosh-$(RELEASE_NAME).img: rootfs-pinetab-phosh-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 4096M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinetab-528.bin
archlinux-pinephone-phosh-$(RELEASE_NAME).img: rootfs-pinephone-phosh-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 4096M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinephone-528.bin
archlinux-pinetab-plasma-$(RELEASE_NAME).img: rootfs-pinetab-plasma-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 5300M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinetab-528.bin
archlinux-pinephone-plasma-$(RELEASE_NAME).img: rootfs-pinephone-plasma-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 5300M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinephone-528.bin
archlinux-pinetab-sxmo-$(RELEASE_NAME).img: rootfs-pinetab-sxmo-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 3072M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinetab-528.bin
archlinux-pinephone-sxmo-$(RELEASE_NAME).img: rootfs-pinephone-sxmo-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 3072M
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinephone-528.bin
######################################################
#### ROCKCHIP PLATFORM, PINE64 PINEPHONE PRO ####
######################################################
rootfs-pinephone-pro-barebone-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-pro-barebone-$(RELEASE_NAME) $@ pinephone-pro-barebone
rootfs-pinephone-pro-phosh-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-pro-phosh-$(RELEASE_NAME) $@ pinephone-pro-phosh
rootfs-pinephone-pro-plasma-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-pro-plasma-$(RELEASE_NAME) $@ pinephone-pro-plasma
rootfs-pinephone-pro-sxmo-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-pinephone-pro-sxmo-$(RELEASE_NAME) $@ pinephone-pro-sxmo
archlinux-pinephone-pro-barebone-$(RELEASE_NAME).img: rootfs-pinephone-pro-barebone-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 2048M rockchip
./make_image.sh $@ $< rockchip
archlinux-pinephone-pro-phosh-$(RELEASE_NAME).img: rootfs-pinephone-pro-phosh-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 5120M rockchip
./make_image.sh $@ $< rockchip
archlinux-pinephone-pro-plasma-$(RELEASE_NAME).img: rootfs-pinephone-pro-plasma-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 6144M rockchip
./make_image.sh $@ $< rockchip
archlinux-pinephone-pro-sxmo-$(RELEASE_NAME).img: rootfs-pinephone-pro-sxmo-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@ 3584M rockchip
./make_image.sh $@ $< rockchip
.PHONY: archlinux-pinetab-barebone archlinux-pinephone-barebone archlinux-pinetab-phosh archlinux-pinephone-phosh archlinux-pinetab-plasma archlinux-pinephone-plasma archlinux-pinetab-sxmo archlinux-pinephone-sxmo archlinux-pinephone-pro-barebone archlinux-pinephone-pro-phosh archlinux-pinephone-pro-plasma archlinux-pinephone-pro-sxmo
archlinux-pinetab-barebone: archlinux-pinetab-barebone-$(RELEASE_NAME).img
archlinux-pinephone-barebone: archlinux-pinephone-barebone-$(RELEASE_NAME).img
archlinux-pinetab-phosh: archlinux-pinetab-phosh-$(RELEASE_NAME).img
archlinux-pinephone-phosh: archlinux-pinephone-phosh-$(RELEASE_NAME).img
archlinux-pinetab-plasma: archlinux-pinetab-plasma-$(RELEASE_NAME).img
archlinux-pinephone-plasma: archlinux-pinephone-plasma-$(RELEASE_NAME).img
archlinux-pinetab-sxmo: archlinux-pinetab-sxmo-$(RELEASE_NAME).img
archlinux-pinephone-sxmo: archlinux-pinephone-sxmo-$(RELEASE_NAME).img
archlinux-pinephone-pro-barebone: archlinux-pinephone-pro-barebone-$(RELEASE_NAME).img
archlinux-pinephone-pro-phosh: archlinux-pinephone-pro-phosh-$(RELEASE_NAME).img
archlinux-pinephone-pro-plasma: archlinux-pinephone-pro-plasma-$(RELEASE_NAME).img
archlinux-pinephone-pro-sxmo: archlinux-pinephone-pro-sxmo-$(RELEASE_NAME).img
all: archlinux-pinetab-barebone archlinux-pinephone-barebone archlinux-pinetab-phosh archlinux-pinephone-phosh archlinux-pinetab-plasma archlinux-pinephone-plasma archlinux-pinetab-sxmo archlinux-pinephone-sxmo archlinux-pinephone-pro-barebone archlinux-pinephone-pro-phosh archlinux-pinephone-pro-plasma archlinux-pinephone-pro-sxmo