diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2011-04-21 18:48:50 +0200 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-06-30 20:40:10 +0200 |
commit | b3db79e9965cb290615a02b324648bc64f805660 (patch) | |
tree | fd44f3728f4b8a3cdb1563a356ce1c413fe116e5 /payloads/libpayload/arch | |
parent | 23b215272d4d136efcac5f3b5712d2a1d76a91d9 (diff) | |
download | coreboot-b3db79e9965cb290615a02b324648bc64f805660.tar.xz |
Use coreboot build system for libpayload, too.
This change makes building coreboot related projects more unified.
Change-Id: I0f1181e2fffde1e03675523f7dc9eef3119052c3
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/71
Tested-by: build bot (Jenkins)
Reviewed-by: Uwe Hermann <uwe@hermann-uwe.de>
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r-- | payloads/libpayload/arch/i386/Makefile.inc | 9 | ||||
-rw-r--r-- | payloads/libpayload/arch/powerpc/Makefile.inc | 7 |
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 |