pi3-aoe

ATA over Ethernet setup for Raspberry Pi 3
git clone https://git.parazyd.org/pi3-aoe
Log | Files | Refs

commit c1c80889b4d38479fa21d10738426b32c3f2ad20
parent 430e0abb1730fbcb279383c99c47554717002e7f
Author: parazyd <parazyd@dyne.org>
Date:   Thu, 28 Jan 2021 11:48:21 +0100

Install kernel dtbs.

Diffstat:
MMakefile | 10+++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile @@ -39,13 +39,17 @@ $(IMAGEGZ): $(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) ARCH=arm64 CROSS_COMPILE=$(TC) boot/kernel8.img: $(IMAGEGZ) - mkdir -p boot + mkdir -p boot/overlays cp $(KERNEL_SRC)/arch/arm64/boot/Image.gz $@ + cp $(KERNEL_SRC)/arch/arm64/boot/dts/broadcom/bcm*.dtb boot + cp $(KERNEL_SRC)/arch/arm64/boot/dts/overlays/*.dtbo boot/overlays + cp $(KERNEL_SRC)/arch/arm64/boot/dts/overlays/README boot/overlays bin/aoe-stat: $(AOE_SRC) sed -e 's@^CFLAGS =.*@CFLAGS = -Os -s -static@' -i $(AOE_SRC)/Makefile - sed -e 's@^SBINDIR =.*@SBINDIR = ${PREFIX}/bin@' -i $(AOE_SRC)/Makefile - $(MAKE) -C $(AOE_SRC) CC=$(TC)gcc + sed -e 's@^SBINDIR =.*@SBINDIR = $${PREFIX}/bin@' -i $(AOE_SRC)/Makefile + $(MAKE) -C $(AOE_SRC) CC=$(TC)gcc PREFIX=$(CURDIR) $(MAKE) -C $(AOE_SRC) CC=$(TC)gcc PREFIX=$(CURDIR) install + rm -rf usr .PHONY: all \ No newline at end of file