From 3234d9ddba26f68902096642b02d55a325a89a6b Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Tue, 18 Dec 2018 12:49:20 -0800 Subject: Pass AR through when building MEE-based examples Signed-off-by: Palmer Dabbelt --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 7900baa..ff6207d 100644 --- a/Makefile +++ b/Makefile @@ -231,6 +231,7 @@ $(PROGRAM_ELF): \ $(MEE_BSP_PATH)/install/lib/libmee-gloss.a \ $(MEE_BSP_PATH)/mee.lds $(MAKE) -C $(dir $@) $(notdir $@) \ + AR=$(RISCV_AR) \ CC=$(RISCV_GCC) \ CXX=$(RISCV_GXX) \ CFLAGS="-Os -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -g" \ -- cgit v1.2.3