diff options
Diffstat (limited to 'firmware/asm/asm.make')
-rw-r--r-- | firmware/asm/asm.make | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/asm/asm.make b/firmware/asm/asm.make index 17b666ee5e..69147c506e 100644 --- a/firmware/asm/asm.make +++ b/firmware/asm/asm.make | |||
@@ -10,8 +10,9 @@ | |||
10 | # Collect dummy C files in firmware/asm | 10 | # Collect dummy C files in firmware/asm |
11 | ASM_DUMMY_SRC := $(notdir $(call preprocess, $(FIRMDIR)/asm/SOURCES)) | 11 | ASM_DUMMY_SRC := $(notdir $(call preprocess, $(FIRMDIR)/asm/SOURCES)) |
12 | 12 | ||
13 | ASM_ARCH := $(subst arch_,,$(ARCH)) # strip arch_ prefix from $(ARCH) | ||
13 | # Get the corresponding real source files under firmware/asm/$ARCH (C or ASM) | 14 | # Get the corresponding real source files under firmware/asm/$ARCH (C or ASM) |
14 | ASM_C_SRC := $(addprefix $(FIRMDIR)/asm/$(ARCH)/,$(ASM_DUMMY_SRC)) | 15 | ASM_C_SRC := $(addprefix $(FIRMDIR)/asm/$(ASM_ARCH)/,$(ASM_DUMMY_SRC)) |
15 | ASM_S_SRC := $(ASM_C_SRC:.c=.S) | 16 | ASM_S_SRC := $(ASM_C_SRC:.c=.S) |
16 | 17 | ||
17 | # ASM_SRC now contains only files that exist under $ARCH | 18 | # ASM_SRC now contains only files that exist under $ARCH |