summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r--payloads/libpayload/arch/i386/Makefile.inc9
-rw-r--r--payloads/libpayload/arch/powerpc/Makefile.inc7
2 files changed, 9 insertions, 7 deletions
diff --git a/payloads/libpayload/arch/i386/Makefile.inc b/payloads/libpayload/arch/i386/Makefile.inc
index 6461b72b79..2be5e54783 100644
--- a/payloads/libpayload/arch/i386/Makefile.inc
+++ b/payloads/libpayload/arch/i386/Makefile.inc
@@ -27,9 +27,10 @@
## SUCH DAMAGE.
##
-TARGETS-y += arch/i386/head.S.o arch/i386/main.o arch/i386/sysinfo.o
-TARGETS-y += arch/i386/timer.o arch/i386/coreboot.o arch/i386/util.S.o
-TARGETS-y += arch/i386/exec.S.o arch/i386/virtual.o
+head.o-y += head.S
+libc-y += main.c sysinfo.c
+libc-y += timer.c coreboot.c util.S
+libc-y += exec.S virtual.c
# Multiboot support is configurable
-TARGETS-$(CONFIG_MULTIBOOT) += arch/i386/multiboot.o
+libc-$(CONFIG_MULTIBOOT) += multiboot.c
diff --git a/payloads/libpayload/arch/powerpc/Makefile.inc b/payloads/libpayload/arch/powerpc/Makefile.inc
index ddfb9fb560..bfbec27a7e 100644
--- a/payloads/libpayload/arch/powerpc/Makefile.inc
+++ b/payloads/libpayload/arch/powerpc/Makefile.inc
@@ -27,7 +27,8 @@
## SUCH DAMAGE.
##
-TARGETS-y += arch/powerpc/head.S.o arch/powerpc/main.o arch/powerpc/sysinfo.o
-TARGETS-y += arch/powerpc/timer.o arch/powerpc/coreboot.o arch/powerpc/util.S.o
-TARGETS-y += arch/powerpc/exec.S.o arch/powerpc/virtual.o
+head.o-y := head.S
+libc-y += main.c sysinfo.c
+libc-y += timer.c coreboot.c util.S.c
+libc-y += exec.S virtual.c