diff options
author | Mart Raudsepp <mart.raudsepp@artecdesign.ee> | 2008-11-25 16:41:21 +0000 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2008-11-25 16:41:21 +0000 |
commit | 58edecdc1e0c7e811c02eb2f3f9c30fa23d4890d (patch) | |
tree | ccfad2431c8e5a31f1938e19dbf4e4c11d305bc0 /payloads/libpayload | |
parent | 0924dee124acfd1f8ae96685720c7a4af068e843 (diff) | |
download | coreboot-58edecdc1e0c7e811c02eb2f3f9c30fa23d4890d.tar.xz |
libpayload: Fix immediate rebuild after a clean
After running make clean, most of build/ directory gets deleted.
It is (re)created in the "prepare" make target, but that was libpayload.a
dependency after the $OBJS, while OBJS building already needs to dump its
created object files there.
Simply rearrange the make target dependencies to get at least "make clean;make" working.
Signed-off-by: Mart Raudsepp <mart.raudsepp@artecdesign.ee>
Acked-by: Jordan Crouse <jordan@cosmicpenguin.net>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3771 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index f2536e9b95..32c39575e7 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -111,7 +111,7 @@ 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) prepare +$(obj)/lib/libpayload.a: prepare $(OBJS) $(Q)printf " AR $(subst $(shell pwd)/,,$(@))\n" $(Q)$(AR) rc $@ $(OBJS) |