summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@sifive.com>2018-12-18 12:49:20 -0800
committerPalmer Dabbelt <palmer@sifive.com>2018-12-18 12:49:20 -0800
commit3234d9ddba26f68902096642b02d55a325a89a6b (patch)
tree8764f4ab4138571fa7054e87f1aed916306b29d5
parent0585e67d09b2343bd3ae89615adab92aaa8b5450 (diff)
Pass AR through when building MEE-based examples
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
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" \