diff options
Diffstat (limited to 'payloads/libpayload')
-rw-r--r-- | payloads/libpayload/Makefile | 4 |
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) |