2012-01-17 06:36:08 +00:00
|
|
|
# __________ __ ___.
|
|
|
|
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
# \/ \/ \/ \/ \/
|
|
|
|
#
|
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
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
|
2012-01-17 06:36:08 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
OTHER_SRC += $(ARMSUPPORTLIB_SRC)
|
|
|
|
# both core and plugins link this
|
|
|
|
CORE_LIBS += $(ARMSUPPORTLIB)
|
|
|
|
PLUGIN_LIBS += $(ARMSUPPORTLIB)
|
2012-01-17 06:36:08 +00:00
|
|
|
|
2012-03-26 20:24:57 +00:00
|
|
|
$(ARMSUPPORTLIB): $(ARMSUPPORTLIB_OBJ)
|
2012-01-17 06:36:08 +00:00
|
|
|
$(SILENT)$(shell rm -f $@)
|
|
|
|
$(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null
|