forked from ayufan-pine64/linux-build
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Makefile
25 lines (18 loc) · 889 Bytes
/
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
export RELEASE_NAME ?= $(shell date +%Y%m%d)
rootfs-$(RELEASE_NAME).tar.gz:
./make_rootfs.sh rootfs-$(RELEASE_NAME) $@
archlinux-xfce-pine64-$(RELEASE_NAME).img: rootfs-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@
./make_image.sh $@ $< u-boot-sunxi-with-spl-pine64.bin
archlinux-xfce-sopine-$(RELEASE_NAME).img: rootfs-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@
./make_image.sh $@ $< u-boot-sunxi-with-spl-sopine.bin
archlinux-xfce-pinebook-$(RELEASE_NAME).img: rootfs-$(RELEASE_NAME).tar.gz
./make_empty_image.sh $@
./make_image.sh $@ $< u-boot-sunxi-with-spl-pinebook.bin
.PHONY: archlinux-xfce-pine64
archlinux-xfce-pine64: archlinux-xfce-pine64-$(RELEASE_NAME).img
.PHONY: archlinux-xfce-sopine
archlinux-xfce-sopine: archlinux-xfce-sopine-$(RELEASE_NAME).img
.PHONY: archlinux-xfce-pinebook
archlinux-xfce-pinebook: archlinux-xfce-pinebook-$(RELEASE_NAME).img