From cf333a61c7861361b4025cb0f67c8f75b0b07eef Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Tue, 17 Jan 2012 07:36:08 +0100 Subject: Move supprt-arm.S to separate library. Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f --- lib/arm_support/arm_support.make | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 lib/arm_support/arm_support.make (limited to 'lib/arm_support/arm_support.make') diff --git a/lib/arm_support/arm_support.make b/lib/arm_support/arm_support.make new file mode 100644 index 0000000..0f6f768 --- /dev/null +++ b/lib/arm_support/arm_support.make @@ -0,0 +1,17 @@ +# __________ __ ___. +# Open \______ \ ____ ____ | | _\_ |__ _______ ___ +# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / +# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < +# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ +# \/ \/ \/ \/ \/ +# + +ARMSUPPORT_DIR = $(ROOTDIR)/lib/arm_support +ARMSUPPORT_SRC = $(ARMSUPPORT_DIR)/support-arm.S +ARMSUPPORT_OBJ := $(call c2obj, $(ARMSUPPORT_SRC)) + +OTHER_SRC += $(ARMSUPPORT_SRC) + +$(LIBARMSUPPORT): $(ARMSUPPORT_OBJ) + $(SILENT)$(shell rm -f $@) + $(call PRINTS,AR $(@F))$(AR) rcs $@ $^ >/dev/null -- cgit v1.1