[PATCH] rt-tests: Makefile: ssdd: Incoroporate ssdd into the rt-tests Makefile

From: John Kacur
Date: Mon Jan 14 2019 - 15:44:21 EST


Incoroporate ssdd into the rt-tests build

Signed-off-by: John Kacur <jkacur@xxxxxxxxxx>
---
Makefile | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 06f399cc629d..16cd2f9bdd03 100644
--- a/Makefile
+++ b/Makefile
@@ -16,7 +16,8 @@ sources = cyclictest.c \
svsematest.c \
cyclicdeadline.c \
deadline_test.c \
- queuelat.c
+ queuelat.c \
+ ssdd.c

TARGETS = $(sources:.c=)
LIBS = -lrt -lpthread
@@ -86,6 +87,7 @@ VPATH += src/lib:
VPATH += src/hackbench:
VPATH += src/sched_deadline:
VPATH += src/queuelat:
+VPATH += src/ssdd:

$(OBJDIR)/%.o: %.c | $(OBJDIR)
$(CC) -D VERSION=$(VERSION) -c $< $(CFLAGS) $(CPPFLAGS) -o $@
@@ -146,6 +148,9 @@ hackbench: $(OBJDIR)/hackbench.o
queuelat: $(OBJDIR)/queuelat.o $(OBJDIR)/librttest.a
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)

+ssdd: $(OBJDIR)/ssdd.o $(OBJDIR)/librttest.a
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB)
+
LIBOBJS =$(addprefix $(OBJDIR)/,error.o rt-get_cpu.o rt-sched.o rt-utils.o)
$(OBJDIR)/librttest.a: $(LIBOBJS)
$(AR) rcs $@ $^
--
2.20.1