diff options
author | Thomas Martitz <kugel@rockbox.org> | 2012-01-17 07:36:08 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2012-01-21 18:39:19 +0100 |
commit | cf333a61c7861361b4025cb0f67c8f75b0b07eef (patch) | |
tree | cecb037f3c38ecb035ff79de75dafa6b135bb595 /lib/arm_support/arm_support.make | |
parent | 4343011955bffaf61b002a89b0137d48e873d9d0 (diff) | |
download | rockbox-cf333a61c7861361b4025cb0f67c8f75b0b07eef.tar.gz rockbox-cf333a61c7861361b4025cb0f67c8f75b0b07eef.zip |
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
Diffstat (limited to 'lib/arm_support/arm_support.make')
-rw-r--r-- | lib/arm_support/arm_support.make | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lib/arm_support/arm_support.make b/lib/arm_support/arm_support.make new file mode 100644 index 0000000000..0f6f7683b4 --- /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 |