blob: 054d723e626d056347f7fea76bd41e388dafe290 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
#
ARMSUPPORTLIB_DIR := $(ROOTDIR)/lib/arm_support
ARMSUPPORTLIB_SRC := $(ARMSUPPORTLIB_DIR)/support-arm.S
ARMSUPPORTLIB_OBJ := $(call c2obj, $(ARMSUPPORTLIB_SRC))
ARMSUPPORTLIB := $(BUILDDIR)/lib/libarm_support.a
OTHER_SRC += $(ARMSUPPORTLIB_SRC)
# both core and plugins link this
CORE_LIBS += $(ARMSUPPORTLIB)
PLUGIN_LIBS += $(ARMSUPPORTLIB)
$(ARMSUPPORTLIB): $(ARMSUPPORTLIB_OBJ)
$(SILENT)$(shell rm -f $@)
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|