summaryrefslogtreecommitdiff
path: root/lib/arm_support/arm_support.make
diff options
context:
space:
mode:
Diffstat (limited to 'lib/arm_support/arm_support.make')
-rw-r--r--lib/arm_support/arm_support.make16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/arm_support/arm_support.make b/lib/arm_support/arm_support.make
index a3775ee3b0..054d723e62 100644
--- a/lib/arm_support/arm_support.make
+++ b/lib/arm_support/arm_support.make
@@ -6,14 +6,16 @@
6# \/ \/ \/ \/ \/ 6# \/ \/ \/ \/ \/
7# 7#
8 8
9ARMSUPPORT_DIR = $(ROOTDIR)/lib/arm_support 9ARMSUPPORTLIB_DIR := $(ROOTDIR)/lib/arm_support
10ARMSUPPORT_SRC = $(ARMSUPPORT_DIR)/support-arm.S 10ARMSUPPORTLIB_SRC := $(ARMSUPPORTLIB_DIR)/support-arm.S
11ARMSUPPORT_OBJ := $(call c2obj, $(ARMSUPPORT_SRC)) 11ARMSUPPORTLIB_OBJ := $(call c2obj, $(ARMSUPPORTLIB_SRC))
12ARMSUPPORTLIB := $(BUILDDIR)/lib/libarm_support.a
12 13
13OTHER_SRC += $(ARMSUPPORT_SRC) 14OTHER_SRC += $(ARMSUPPORTLIB_SRC)
15# both core and plugins link this
16CORE_LIBS += $(ARMSUPPORTLIB)
17PLUGIN_LIBS += $(ARMSUPPORTLIB)
14 18
15LIBARMSUPPORT := $(BUILDDIR)/lib/libarm_support.a 19$(ARMSUPPORTLIB): $(ARMSUPPORTLIB_OBJ)
16
17$(LIBARMSUPPORT): $(ARMSUPPORT_OBJ)
18 $(SILENT)$(shell rm -f $@) 20 $(SILENT)$(shell rm -f $@)
19 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null 21 $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null