uwu

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

commit d977b356e8e0f0f036dadc204e7ff5c5c9c11f0c
parent 41d39b6a70db38aadbf3fe00a113f078547f1d25
Author: parazyd <parazyd@dyne.org>
Date:   Sat, 21 Nov 2020 22:21:50 +0100

Support multiple kernel patches.

Diffstat:
Mconfig.mk | 2+-
Mkernel.mk | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/config.mk b/config.mk @@ -19,7 +19,7 @@ ROOTCREDENTIALS = root:uwu KERNEL_SRC = linux-5.8.18 # Path to a kernel patch to apply in the mainline source tree. -# Safe to leave unset. +# Supports multiple filenames. Safe to leave unset. KERNEL_PATCH = # Alpine Linux version diff --git a/kernel.mk b/kernel.mk @@ -24,7 +24,7 @@ $(KERNEL_SRC): $(KERNEL_TAR) $(KERNEL_SIG) --verify $(KERNEL_SIG) tar xf $(KERNEL_SRC).tar ifneq ($(KERNEL_PATCH),) - ( cd $(KERNEL_SRC) && patch -p1 < $(KERNEL_PATCH) ) + ( cd $(KERNEL_SRC) && for i in $(KERNEL_PATCH); do patch -p1 < $$i || exit 1 ; done ) endif $(KERNEL_CFG): $(KERNEL_SRC)