summaryrefslogtreecommitdiff
path: root/payloads
diff options
context:
space:
mode:
Diffstat (limited to 'payloads')
-rw-r--r--payloads/libpayload/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile
index af4080fef9..b907b8f940 100644
--- a/payloads/libpayload/Makefile
+++ b/payloads/libpayload/Makefile
@@ -101,7 +101,7 @@ all: lib
lib: prepare $(obj)/lib/libpayload.a copystuff
# Copy libpayload.a and head.o into $(src)/lib where lpgcc et al expect them.
-copystuff:
+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