From a596db404dc77085ced2279ecb62adad29458147 Mon Sep 17 00:00:00 2001 From: occheung Date: Thu, 2 Sep 2021 14:13:22 +0800 Subject: [PATCH] satman: fix cargo xbuild sysroot --- artiq/firmware/satman/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/firmware/satman/Makefile b/artiq/firmware/satman/Makefile index 1f441c018..7c3885c87 100644 --- a/artiq/firmware/satman/Makefile +++ b/artiq/firmware/satman/Makefile @@ -5,6 +5,8 @@ LDFLAGS += -L../libbase RUSTFLAGS += -Cpanic=abort +export XBUILD_SYSROOT_PATH=$(BUILDINC_DIRECTORY)/../sysroot + all:: satman.bin satman.fbi .PHONY: $(RUSTOUT)/libsatman.a