From 2f83181e4b987eeac5e9c0f5a381a28dcf17ce8b Mon Sep 17 00:00:00 2001 From: Henrik Austad Date: Mon, 21 Sep 2015 17:27:27 +0200 Subject: Makefile: add librttest to rt-migrate-test linker must be able to resolve reference to err_msg_n properly rt-migrate-test.c:(.text+0x1ff): undefined reference to `err_msg_n' Signed-off-by: Henrik Austad Signed-off-by: John Kacur --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index fcf20ce..66de743 100644 --- a/Makefile +++ b/Makefile @@ -87,8 +87,8 @@ hwlatdetect: src/hwlatdetect/hwlatdetect.py chmod +x src/hwlatdetect/hwlatdetect.py ln -s src/hwlatdetect/hwlatdetect.py hwlatdetect -rt-migrate-test: rt-migrate-test.o - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) +rt-migrate-test: rt-migrate-test.o librttest.a + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) ptsematest: ptsematest.o librttest.a $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LIBS) $(RTTESTLIB) $(EXTRA_LIBS) -- cgit 1.2.3-korg