tUse variables for KERNEL_SRC in main Makefile. - uwu - hardware bitcoin wallet software and build system
HTML git clone https://git.parazyd.org/uwu
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit c7adf20a7fdd23c5e7147923f927a63cfd88b2c8
DIR parent d8102d76f60d66936071148e24b3918b4d2a0e1d
HTML Author: parazyd <parazyd@dyne.org>
Date: Fri, 27 Nov 2020 15:48:01 +0100
Use variables for KERNEL_SRC in main Makefile.
Diffstat:
M Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -28,10 +28,10 @@ install.sh: install.sh.in
< $@.in > $@
rpi-boot/upstream/kernel.img: $(KERNEL_BINS)
- cp -f linux-5.8.18/arch/arm/boot/zImage $@
+ cp -f $(KERNEL_SRC)/arch/arm/boot/zImage $@
rpi-boot/upstream/bcm2835-rpi-zero.dtb: $(KERNEL_BINS)
- cp -f linux-5.8.18/arch/arm/boot/dts/bcm2835-rpi-zero.dtb $@
+ cp -f $(KERNEL_SRC)/arch/arm/boot/dts/bcm2835-rpi-zero.dtb $@
$(IMAGE): $(BINS) $(BOOT_BINS) $(ALPINE_BINS) ch
cp -f $(BINS) ./ch