tSupport multiple kernel patches. - uwu - hardware bitcoin wallet software and build system
 (HTM) git clone https://git.parazyd.org/uwu
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit d977b356e8e0f0f036dadc204e7ff5c5c9c11f0c
 (DIR) parent 41d39b6a70db38aadbf3fe00a113f078547f1d25
 (HTM) Author: parazyd <parazyd@dyne.org>
       Date:   Sat, 21 Nov 2020 22:21:50 +0100
       
       Support multiple kernel patches.
       
       Diffstat:
         M config.mk                           |       2 +-
         M kernel.mk                           |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/config.mk b/config.mk
       t@@ -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
 (DIR) diff --git a/kernel.mk b/kernel.mk
       t@@ -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)