Commit 8564e185 authored by Mike Hibler's avatar Mike Hibler

Linktest now works on ARM boxen.

parent 5c7de5b3
......@@ -29,10 +29,7 @@ ARCH := $(shell uname -m)
include $(OBJDIR)/Makeconf
SUBDIRS = program-agent link-agent tevc proxy bs-agent
ifneq ($(ARCH),aarch64)
SUBDIRS += linktest
endif
SUBDIRS = program-agent link-agent tevc proxy bs-agent linktest
ifeq ($(SYSTEM),Linux)
SUBDIRS += disk-agent
endif
......
......@@ -85,7 +85,7 @@ main(int argc, char **argv) {
char *pidfile = NULL;
char *logfile = NULL;
char *progname;
char c;
int c;
char buf[BUFSIZ];
extern char build_info[];
pideid = NULL;
......@@ -127,11 +127,14 @@ main(int argc, char **argv) {
break;
default:
usage(progname);
break;
}
}
if (!pideid)
usage(progname);
if (!pideid) {
fprintf(stderr, "Must specify a pid/eid via -e\n");
usage(progname);
}
if (debug)
loginit(0, 0);
......
......@@ -75,7 +75,6 @@ common-install: dir-install
bin-install: dir-install
(cd ../linux; $(MAKE) DESTDIR=$(DESTDIR) RCDIR=$(RCDIR) bin-install)
$(INSTALL) -m 755 $(SRCDIR)/findcnet $(BINDIR)/findcnet
rm -f $(BINDIR)/rc/rc.linktest
etc-install: dir-install common-sysetc-install
$(INSTALL) -m 644 $(SRCDIR)/group $(ETCDIR)/group
......
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