Skip to content

Commit 6458e80

Browse files
committed
libarc32_arduino101/Makefile: Strip libarc32drv_arduino101.a
1 parent 4ae5af7 commit 6458e80

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

system/libarc32_arduino101/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ C_SRC+=$(wildcard $(PWD)/framework/src/os/*.c)
1717
ARCH=ARC
1818
CC=arc-elf32-gcc
1919
AS=arc-elf32-as
20+
STRIP=arc-elf32-strip
2021
RM=rm -f
2122
INSTALL=install
2223

@@ -55,6 +56,7 @@ lib: $(TARGET_LIB)
5556
$(TARGET_LIB): $(C_OBJ) $(ASM_OBJ)
5657
@echo "Link $@"
5758
@$(AR) rcs $@ $^
59+
@$(STRIP) --strip-unneeded $@
5860

5961
%.o: %.S
6062
@echo "Assembling $<"
-593 KB
Binary file not shown.

0 commit comments

Comments
 (0)