diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-11-16 04:35:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-11-16 04:35:48 +0000 |
commit | 27be0830a0d05b7204c99f5d0c8f987a881ca72c (patch) | |
tree | d86203cfc0a7ecd9359540172b47a52f9beaa61f | |
parent | 5396647d53e395118d2cf52b6ce90bf788290919 (diff) |
add support for .s translation like .S
-rw-r--r-- | libc/sysdeps/linux/Makefile.arch | 8 |
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) |