summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-16 04:35:48 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-16 04:35:48 +0000
commit27be0830a0d05b7204c99f5d0c8f987a881ca72c (patch)
treed86203cfc0a7ecd9359540172b47a52f9beaa61f /libc
parent5396647d53e395118d2cf52b6ce90bf788290919 (diff)
add support for .s translation like .S
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/Makefile.arch8
1 files changed, 2 insertions, 6 deletions
diff --git a/libc/sysdeps/linux/Makefile.arch b/libc/sysdeps/linux/Makefile.arch
index a2d675294..5feffe8d6 100644
--- a/libc/sysdeps/linux/Makefile.arch
+++ b/libc/sysdeps/linux/Makefile.arch
@@ -5,17 +5,13 @@
# Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
#
-ifeq ($(TARGET_ARCH),)
-$(error TARGET_ARCH is not set, no .config exists in topdir)
-endif
-
ARCH_DIR := $(top_srcdir)libc/sysdeps/linux/$(TARGET_ARCH)
ARCH_OUT := $(top_builddir)libc/sysdeps/linux/$(TARGET_ARCH)
ARCH_CSRC := $(patsubst %.c,$(ARCH_DIR)/%.c,$(CSRC))
ARCH_COBJ := $(patsubst %.c,$(ARCH_OUT)/%.o,$(CSRC))
-ARCH_SSRC := $(patsubst %.S,$(ARCH_DIR)/%.S,$(SSRC))
-ARCH_SOBJ := $(patsubst %.S,$(ARCH_OUT)/%.o,$(SSRC))
+ARCH_SSRC := $(patsubst %.s,$(ARCH_DIR)/%.s,$(patsubst %.S,$(ARCH_DIR)/%.S,$(SSRC)))
+ARCH_SOBJ := $(patsubst %.s,$(ARCH_OUT)/%.o,$(patsubst %.S,$(ARCH_OUT)/%.o,$(SSRC)))
ARCH_OBJS := $(ARCH_COBJ) $(ARCH_SOBJ)