summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/config/Config.lb4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config/Config.lb b/src/config/Config.lb
index d341b1fbcc..eb4d86e1eb 100644
--- a/src/config/Config.lb
+++ b/src/config/Config.lb
@@ -88,8 +88,8 @@ if CONFIG_AP_CODE_IN_CAR
end
makerule coreboot_apc.o
- depends "coreboot_apc.a c_start.o $(LIBGCC_FILE_NAME)"
- action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ c_start.o coreboot_apc.a $(LIBGCC_FILE_NAME)"
+ depends "$(TOP)/src/arch/$(ARCH)/lib/c_start.o coreboot_apc.a $(LIBGCC_FILE_NAME)"
+ action "$(CC) $(DISTRO_LFLAGS) -nostdlib -r -o $@ $^"
end
makerule coreboot_apc