blob: 054d723e626d056347f7fea76bd41e388dafe290 [file] [log] [blame]
Thomas Martitzcf333a62012-01-17 07:36:08 +01001# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7#
8
Thomas Martitzf269aa02012-03-26 22:24:57 +02009ARMSUPPORTLIB_DIR := $(ROOTDIR)/lib/arm_support
10ARMSUPPORTLIB_SRC := $(ARMSUPPORTLIB_DIR)/support-arm.S
11ARMSUPPORTLIB_OBJ := $(call c2obj, $(ARMSUPPORTLIB_SRC))
12ARMSUPPORTLIB := $(BUILDDIR)/lib/libarm_support.a
Thomas Martitzcf333a62012-01-17 07:36:08 +010013
Thomas Martitzf269aa02012-03-26 22:24:57 +020014OTHER_SRC += $(ARMSUPPORTLIB_SRC)
15# both core and plugins link this
16CORE_LIBS += $(ARMSUPPORTLIB)
17PLUGIN_LIBS += $(ARMSUPPORTLIB)
Thomas Martitzcf333a62012-01-17 07:36:08 +010018
Thomas Martitzf269aa02012-03-26 22:24:57 +020019$(ARMSUPPORTLIB): $(ARMSUPPORTLIB_OBJ)
Thomas Martitzcf333a62012-01-17 07:36:08 +010020 $(SILENT)$(shell rm -f $@)
21 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null