From 27be0830a0d05b7204c99f5d0c8f987a881ca72c Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 16 Nov 2005 04:35:48 +0000 Subject: add support for .s translation like .S --- libc/sysdeps/linux/Makefile.arch | 8 ++------ 1 file 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) -- cgit v1.2.3