Commit 7e36175b authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix build when EVENTSYS is turned off - we still need libtb, even

when not using the event system.
parent 4558a3aa
...@@ -35,14 +35,15 @@ CFLAGS += -Wall \ ...@@ -35,14 +35,15 @@ CFLAGS += -Wall \
-DDEFAULT_PATH='"/tftpboot/pxeboot.newnode"' \ -DDEFAULT_PATH='"/tftpboot/pxeboot.newnode"' \
-DLOG_TESTBED=$(LOG_TESTBED) -DLOG_TESTBED=$(LOG_TESTBED)
LFLAGS = ${OBJDIR}/lib/libtb/libtb.a
ifeq ($(EVENTSYS),1) ifeq ($(EVENTSYS),1)
BI_DBSRC += event-support.c BI_DBSRC += event-support.c
BI_DBOBJ += event-support.o BI_DBOBJ += event-support.o
CFLAGS += -DEVENTSYS -I$(TESTBED_SRCDIR)/event/lib \ CFLAGS += -DEVENTSYS -I$(TESTBED_SRCDIR)/event/lib \
`elvin-config --cflags vin4c` `elvin-config --cflags vin4c`
LFLAGS += $(OBJDIR)/event/lib/libevent.a ${OBJDIR}/lib/libtb/libtb.a \ LFLAGS += $(OBJDIR)/event/lib/libevent.a `elvin-config --libs vin4c` -lcrypto
`elvin-config --libs vin4c` -lcrypto
endif endif
bootinfo: bootinfo.o bootinfo.h bootinfo_version.o bootwhat.h $(BI_DBOBJ) bootinfo: bootinfo.o bootinfo.h bootinfo_version.o bootwhat.h $(BI_DBOBJ)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment