summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Makefile
diff options
context:
space:
mode:
authorRobert Millan <rmh@aybabtu.com>2008-11-11 23:41:08 +0000
committerJordan Crouse <jordan.crouse@amd.com>2008-11-11 23:41:08 +0000
commitc1f404fc0ee18ad3e42de46acdd3b6422ab69ba9 (patch)
tree2a0c2501444970b006a575810363a512727f4547 /payloads/libpayload/Makefile
parent39ebf2f06855343793fa5635d2c7b26ee2f1a7b8 (diff)
downloadcoreboot-c1f404fc0ee18ad3e42de46acdd3b6422ab69ba9.tar.xz
Signed-off-by: Robert Millan <rmh@aybabtu.com>
Acked-by: Jordan Crouse <jordan@cosmicpenguin.net> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3749 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/Makefile')
-rw-r--r--payloads/libpayload/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index 4fcf72b545..d8ca6f6917 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -104,14 +104,14 @@ CFLAGS := -Wall -Werror $(STACKPROTECT) -nostdinc $(INCLUDES) -ffreestanding
all: lib
-lib: prepare $(obj)/lib/libpayload.a copystuff
+lib: $(obj)/lib/libpayload.a copystuff
# Copy libpayload.a and head.o into $(src)/lib where lpgcc et al expect them.
copystuff: $(obj)/$(ARCHDIR-y)/head.S.o $(obj)/lib/libpayload.a
$(Q)cp $(obj)/$(ARCHDIR-y)/head.S.o $(src)/lib/$(ARCHDIR-y)/head.o
$(Q)cp $(obj)/lib/libpayload.a $(src)/lib
-$(obj)/lib/libpayload.a: $(OBJS)
+$(obj)/lib/libpayload.a: $(OBJS) prepare
$(Q)printf " AR $(subst $(shell pwd)/,,$(@))\n"
$(Q)$(AR) rc $@ $(OBJS)