tAdd busybox compile target. - pi3-aoe - ATA over Ethernet setup for Raspberry Pi 3 (HTM) git clone https://git.parazyd.org/pi3-aoe (DIR) Log (DIR) Files (DIR) Refs --- (DIR) commit 45ec37d0e274c6c02d9f3c2dfb0716c9cfcdc9cf (DIR) parent 65e723bb8c2295b8d9f6fac2a1d8696d7decc659 (HTM) Author: parazyd <parazyd@dyne.org> Date: Thu, 28 Jan 2021 11:55:20 +0100 Add busybox compile target. Diffstat: M Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+), 0 deletions(-) --- (DIR) diff --git a/Makefile b/Makefile t@@ -15,6 +15,10 @@ AOE_URL = https://github.com/OpenAoE/aoetools AOE_BRANCH = master AOE_SRC = aoetools +BUSYBOX_URL = https://git.busybox.net/busybox +BUSYBOX_BRANCH = 1_32_1 +BUSYBOX_SRC = busybox + all: boot/kernel8.img bin/aoe-stat boot/bootcode.bin $(KERNEL_SRC): t@@ -26,6 +30,9 @@ $(FIRMWARE_SRC): $(AOE_SRC): git clone --depth 1 -b $(AOE_BRANCH) $(AOE_URL) $@ +$(BUSYBOX_SRC): + git clone --depth 1 -b $(BUSYBOX_BRANCH) $(BUSYBOX_URL) $@ + boot/bootcode.bin: $(FIRMWARE_SRC) mkdir -p boot cp $(FIRMWARE_SRC)/boot/start* boot t@@ -52,4 +59,9 @@ bin/aoe-stat: $(AOE_SRC) $(MAKE) -C $(AOE_SRC) CC=$(TC)gcc PREFIX=$(CURDIR) install rm -rf usr +bin/busybox: $(BUSYBOX_SRC) + cp busybox.config $(BUSYBOX_SRC)/.config + $(MAKE) -C $(BUSYBOX_SRC) ARCH=arm64 CROSS_COMPILE=$(TC) busybox + cp $(BUSYBOX_SRC)/busybox $@ + .PHONY: all \ No newline at end of file