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