From: Konstantinos Margaritis Date: Mon, 20 Mar 2023 09:46:03 +0000 (+0000) Subject: and *.elf files X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5d19a6731e99b0c4aee90059f60ee8910f52eea;p=openpower-isa.git and *.elf files --- diff --git a/crypto/chacha20/Makefile b/crypto/chacha20/Makefile index 01bdbe5c..27c0156d 100644 --- a/crypto/chacha20/Makefile +++ b/crypto/chacha20/Makefile @@ -25,6 +25,7 @@ INCLUDES := $(wildcard $(SRCDIR)/*.h)) SVP64OBJECTS := $(ASFILES:$(SRCDIR)/%.s=$(SRCDIR)/%.o) OBJECTS := $(CFILES:$(SRCDIR)/%.c=$(SRCDIR)/%.o) BINFILES := $(BINDIR)/xchacha_hchacha20_svp64.bin $(BINDIR)/xchacha_encrypt_bytes_svp64.bin +ELFFILES := $(BINDIR)/xchacha_hchacha20_svp64.bin $(BINDIR)/xchacha_encrypt_bytes_svp64.bin $(BINDIR)/%.elf: $(SRCDIR)/%.o $(CROSSLD) -EL -o $@ -T memmap $^ @@ -35,11 +36,11 @@ $(BINDIR)/%.bin: $(BINDIR)/%.elf .PHONY: all clean remove all: ${TARGET} -$(TARGET): $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) +$(TARGET): $(OBJECTS) $(SVP64OBJECTS) $(ELFFILES) $(CC) -o $@ $(OBJECTS) $(LDFLAGS) clean: - $ rm -f $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) + $ rm -f $(OBJECTS) $(SVP64OBJECTS) $(BINFILES) $(ELFFILES) remove: clean $ rm -f $(TARGET)