commit c7adf20a7fdd23c5e7147923f927a63cfd88b2c8
parent d8102d76f60d66936071148e24b3918b4d2a0e1d
Author: parazyd <parazyd@dyne.org>
Date: Fri, 27 Nov 2020 15:48:01 +0100
Use variables for KERNEL_SRC in main Makefile.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
@@ -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