tRebuild kernel on config change. - pi3-aoe - ATA over Ethernet setup for Raspberry Pi 3
HTML git clone https://git.parazyd.org/pi3-aoe
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7d2962f4b1cb736eaedd71bde9b78a5c000971f6
DIR parent 280ec770845c1e7039ae46349bd580a66a429249
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 28 Jan 2021 13:26:13 +0100
Rebuild kernel on config change.
Diffstat:
M Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/Makefile b/Makefile
t@@ -40,7 +40,7 @@ boot/bootcode.bin: $(FIRMWARE_SRC)
cp $(FIRMWARE_SRC)/boot/COPYING.linux boot
cp $(FIRMWARE_SRC)/boot/bootcode.bin boot
-$(IMAGEGZ): $(KERNEL_SRC)
+$(IMAGEGZ): $(KERNEL_SRC) pi3.config
cp -f pi3.config $(KERNEL_SRC)/.config
$(MAKE) -C $(KERNEL_SRC) ARCH=arm64 CROSS_COMPILE=$(TC) oldconfig
$(MAKE) -C $(KERNEL_SRC) ARCH=arm64 CROSS_COMPILE=$(TC)