uwu

hardware bitcoin wallet software and build system
git clone https://git.parazyd.org/uwu
Log | Files | Refs | README | LICENSE

commit 91cdd95fafe22b700dc894e8986045bed9c20ef3
parent 199e84931a15c9fc3ab34d9b06658422bd7085db
Author: parazyd <parazyd@dyne.org>
Date:   Wed,  3 Feb 2021 01:00:25 +0100

Download and compile everything in the 'all' target.

Diffstat:
MMakefile | 4++--
Malpine.mk | 5-----
Mbusybox.mk | 6------
Mconfig.mk | 23+++++++++++++++++++----
Melectrum.mk | 6------
Mkernel.mk | 6------
6 files changed, 21 insertions(+), 29 deletions(-)

diff --git a/Makefile b/Makefile @@ -14,11 +14,11 @@ BOOT_BINS = \ INIT_BINS = initramfs/bin -all: $(BINS) $(BOOT_BINS) +all: $(BINS) $(KERNEL_BINS) $(ALPINE_BINS) $(BUSYBOX_BINS) $(ELECTRUM_BINS) $(BOOT_BINS) +include electrum.mk include alpine.mk include busybox.mk -include electrum.mk include kernel.mk include chroot.mk diff --git a/alpine.mk b/alpine.mk @@ -4,10 +4,5 @@ # This file is part of uwu. # See LICENSE file for copyright and license details. -ALPINE_TAR = alpine-minirootfs-$(ALPINE_VER)-armhf.tar.gz -ALPINE_SIG = $(ALPINE_TAR).asc - -ALPINE_BINS = $(ALPINE_TAR) $(ALPINE_SIG) - $(ALPINE_TAR) $(ALPINE_SIG): wget -c https://dl-cdn.alpinelinux.org/alpine/v$(ALPINE_MAJ)/releases/armhf/$@ diff --git a/busybox.mk b/busybox.mk @@ -4,12 +4,6 @@ # This file is part of uwu. # See LICENSE file for copyright and license details. -BUSYBOX_SRC = busybox-$(BUSYBOX_VER) -BUSYBOX_TAR = $(BUSYBOX_SRC).tar.bz2 -BUSYBOX_SIG = $(BUSYBOX_TAR).sig - -BUSYBOX_BINS = $(BUSYBOX_SRC) $(BUSYBOX_TAR) $(BUSYBOX_SIG) - $(BUSYBOX_SIG) $(BUSYBOX_TAR): wget -c https://busybox.net/downloads/$@ diff --git a/config.mk b/config.mk @@ -16,15 +16,30 @@ ROOTCREDENTIALS = root:toor # Crosscompiler prefix for compiling Linux and Busybox CROSS_COMPILE = armv6j-unknown-linux-musleabihf- -# Linux Kernel version +# Linux Kernel KERNEL_VER = 5.10.12 +KERNEL_SRC = linux-$(KERNEL_VER) +KERNEL_TAR = $(KERNEL_SRC).tar +KERNEL_SIG = $(KERNEL_TAR).sign +KERNEL_BINS = $(KERNEL_SRC) $(KERNEL_TAR) $(KERNEL_SIG) -# Alpine Linux version +# Alpine Linux ALPINE_MAJ = 3.13 ALPINE_VER = $(ALPINE_MAJ).1 +ALPINE_TAR = alpine-minirootfs-$(ALPINE_VER)-armhf.tar.gz +ALPINE_SIG = $(ALPINE_TAR).asc +ALPINE_BINS = $(ALPINE_TAR) $(ALPINE_SIG) -# Busybox version +# Busybox BUSYBOX_VER = 1.33.0 +BUSYBOX_SRC = busybox-$(BUSYBOX_VER) +BUSYBOX_TAR = $(BUSYBOX_SRC).tar.bz2 +BUSYBOX_SIG = $(BUSYBOX_TAR).sig +BUSYBOX_BINS = $(BUSYBOX_SRC) $(BUSYBOX_TAR) $(BUSYBOX_SIG) -# Electrum version +# Electrum ELECTRUM_VER = 4.0.9 +ELECTRUM_SRC = Electrum-$(ELECTRUM_VER) +ELECTRUM_TAR = $(ELECTRUM_SRC).tar.gz +ELECTRUM_SIG = $(ELECTRUM_TAR).asc +ELECTRUM_BINS = $(ELECTRUM_SRC) $(ELECTRUM_TAR) $(ELECTRUM_SIG) diff --git a/electrum.mk b/electrum.mk @@ -4,12 +4,6 @@ # This file is part of uwu. # See LICENSE file for copyright and license details. -ELECTRUM_SRC = Electrum-$(ELECTRUM_VER) -ELECTRUM_TAR = $(ELECTRUM_SRC).tar.gz -ELECTRUM_SIG = $(ELECTRUM_TAR).asc - -ELECTRUM_BINS = $(ELECTRUM_SRC) $(ELECTRUM_TAR) $(ELECTRUM_SIG) - $(ELECTRUM_TAR) $(ELECTRUM_SIG): wget -c https://download.electrum.org/$(ELECTRUM_VER)/$@ diff --git a/kernel.mk b/kernel.mk @@ -4,12 +4,6 @@ # This file is part of uwu. # See LICENSE file for copyright and license details. -KERNEL_SRC = linux-$(KERNEL_VER) -KERNEL_TAR = $(KERNEL_SRC).tar -KERNEL_SIG = $(KERNEL_TAR).sign - -KERNEL_BINS = $(KERNEL_SRC) $(KERNEL_TAR) $(KERNEL_SIG) - $(KERNEL_SIG): wget -c https://cdn.kernel.org/pub/linux/kernel/v5.x/$@