From 74e4f8dc5fd8ef9b23c650d3afe9faf0c475b130 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Tue, 5 Oct 2021 10:53:58 +0200 Subject: [PATCH] makefile: target names match target files --- src/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 5eca52f..86e1069 100644 --- a/src/Makefile +++ b/src/Makefile @@ -5,6 +5,8 @@ all: runtime runtime: ../build/runtime.bin +satman: ../build/satman.bin + .PHONY: all @@ -22,12 +24,12 @@ runtime: ../build/runtime.bin ../build/runtime.bin: ../build/firmware/armv7-none-eabihf/release/runtime llvm-objcopy -O binary ../build/firmware/armv7-none-eabihf/release/runtime ../build/runtime.bin -satmanout: ../build/pl.rs ../build/rustc-cfg +../build/firmware/armv7-none-eabihf/release/satman: ../build/pl.rs ../build/rustc-cfg cd satman && \ XBUILD_SYSROOT_PATH=`pwd`/../../build/sysroot \ cargo xbuild --release \ --target-dir ../../build/firmware \ --no-default-features --features=target_$(TARGET) -satman: satmanout +../build/satman.bin: ../build/firmware/armv7-none-eabihf/release/satman llvm-objcopy -O binary ../build/firmware/armv7-none-eabihf/release/satman ../build/satman.bin \ No newline at end of file