Commit d7334890 authored by Filippos Giannakos's avatar Filippos Giannakos

Fix vlmc tool open, close. Also fix parameters.list install

parent 4b339ca6
......@@ -1123,7 +1123,7 @@ def vlmc_open(args):
ret = False
xseg_ctx = Xseg_ctx(SPEC, VTOOL)
with Request(xseg_ctx, VPORT, len(name), 0) as req:
with Request(xseg_ctx, VPORT_START, len(name), 0) as req:
req.set_op(X_OPEN)
req.set_size(0)
req.set_offset(0)
......@@ -1148,7 +1148,7 @@ def vlmc_close(args):
ret = False
xseg_ctx = Xseg_ctx(SPEC, VTOOL)
with Request(xseg_ctx, VPORT, len(name), 0) as req:
with Request(xseg_ctx, VPORT_START, len(name), 0) as req:
req.set_op(X_CLOSE)
req.set_size(0)
req.set_offset(0)
......
......@@ -2,7 +2,8 @@
include $(XSEG_HOME)/base.mk
FILES="Makefile"
DEVFILES="Makefile"
FILES+="parameters.list"
EFILES="vlmc_wrapper.py"
......@@ -21,12 +22,18 @@ clean:
install:
install -d $(DESTDIR)$(ganetidir)
@for f in $(FILES) ; do \
install -o 0 -g 0 -m 644 -t $(DESTDIR)$(ganetidir) $$f ; \
done
@for f in $(EFILES) ; do \
install -o 0 -g 0 -m 755 -t $(DESTDIR)$(ganetidir) $$f ; \
done
install-src:
install -d $(DESTDIR)$(srcdir)$(SUBDIR) ;
@for f in $(DEVFILES) ; do \
install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \
done
@for f in $(FILES) ; do \
install -o 0 -g 0 -m 644 -t $(DESTDIR)$(srcdir)$(SUBDIR) $$f ; \
done
......
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