From 94b6733a6e7262f7bae237c7d3d0a87ab58e3018 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Tue, 24 May 2016 20:27:45 +0200 Subject: [PATCH] fix ar usage --- Makefile | 2 +- Makefile.include | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f67ae0febc..bbb79ccd01 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ OBJS += gen/bitmaps.o OBJS += gen/fonts.o libtrezor.a: $(OBJS) - ar rcs libtrezor.a $(OBJS) + $(AR) rcs libtrezor.a $(OBJS) include Makefile.include diff --git a/Makefile.include b/Makefile.include index f931984328..0f46d7d828 100644 --- a/Makefile.include +++ b/Makefile.include @@ -6,6 +6,7 @@ CC = $(PREFIX)gcc LD = $(PREFIX)gcc OBJCOPY = $(PREFIX)objcopy OBJDUMP = $(PREFIX)objdump +AR = $(PREFIX)ar FLASH = st-flash OPENOCD = openocd