aboutsummaryrefslogtreecommitdiff
path: root/aarch64/el1_s/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'aarch64/el1_s/Makefile')
-rw-r--r--aarch64/el1_s/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/aarch64/el1_s/Makefile b/aarch64/el1_s/Makefile
index 317561f..2d46262 100644
--- a/aarch64/el1_s/Makefile
+++ b/aarch64/el1_s/Makefile
@@ -1,4 +1,4 @@
-VPATH = ../el1_common:../common
+VPATH = $(ARCH):../el1_common/$(ARCH):../el1_common:../common
EL1_S_ELF = el1_sec.elf
EL1_S_IMAGE = el1_sec.bin
@@ -8,7 +8,6 @@ EL1_S_OBJS = el1_init.o \
el1.o \
el1_loader.o \
el1_sec.o \
- svc.o \
mem_util.o \
builtins.o
@@ -28,7 +27,7 @@ $(EL1_S_LOAD): el1_sec.lds.S Makefile ../../platform/$(PLAT)/
$(CC) $(CFLAGS) -E -P -C -o $@ $<
%.o: %.S
- $(CC) $(CFLAGS) -mcmodel=large -c -nostdlib -o $(notdir $@) $<
+ $(CC) $(CFLAGS) -c -nostdlib -o $(notdir $@) $<
all: $(EL1_S_IMAGE)