From b3db79e9965cb290615a02b324648bc64f805660 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Thu, 21 Apr 2011 18:48:50 +0200 Subject: Use coreboot build system for libpayload, too. This change makes building coreboot related projects more unified. Change-Id: I0f1181e2fffde1e03675523f7dc9eef3119052c3 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/71 Tested-by: build bot (Jenkins) Reviewed-by: Uwe Hermann --- payloads/libpayload/arch/i386/Makefile.inc | 9 +++++---- payloads/libpayload/arch/powerpc/Makefile.inc | 7 ++++--- 2 files changed, 9 insertions(+), 7 deletions(-) (limited to 'payloads/libpayload/arch') 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 -- cgit v1.2.3