Commit d1c92aec authored by Lucas Russo's avatar Lucas Russo

cfg/*: add configuration files

This configuration file, in the format zeroMQ ZPL language,
will be used for configuring the dev_mngr and dev_io
instances.
parent 3d5e2956
# Set your cross compile prefix with CROSS_COMPILE variable
CROSS_COMPILE ?=
CMDSEP = ;
CC = $(CROSS_COMPILE)gcc
AR = $(CROSS_COMPILE)ar
LD = $(CROSS_COMPILE)ld
OBJDUMP = $(CROSS_COMPILE)objdump
OBJCOPY = $(CROSS_COMPILE)objcopy
SIZE = $(CROSS_COMPILE)size
MAKE = make
CFG_DIR ?= /etc/bpm_sw
# Get all .cfg files
CFG_FILES ?= $(wildcard *.cfg)
.PHONY: all clean mrproper install uninstall
# Makefile rules
all:
install:
@mkdir -p $(CFG_DIR)
$(foreach cfg,$(CFG_FILES),install -m 755 $(cfg) $(CFG_DIR)/ $(CMDSEP))
uninstall:
$(foreach cfg,$(CFG_FILES),rm -f $(CFG_DIR)/$(cfg) $(CMDSEP))
@rmdir $(CFG_DIR)
clean:
mrproper:
# BPM-SW configuration file
# Device manager configurations
dev_mngr
broker
bind = tcp://10.0.18.35:8888
log
dir = /export/remote_logs
filename = dev_mngr.log
verbose = 1 # Ask for a trace
daemonize = no # Ask for daemonize process (options are: yes or no)
# Device I/O configurations
dev_io
board0
bpm0
dbe
afe
bind = tcp://10.0.18.59:6791
bpm1
dbe
afe
bind =
board1
bpm0
dbe
afe
bind =
bpm1
dbe
afe
bind =
board2
bpm0
dbe
afe
bind =
bpm1
dbe
afe
bind =
board3
bpm0
dbe
afe
bind =
bpm1
dbe
afe
bind =
board4
bpm0
dbe
afe
bind =
bpm1
dbe
afe
bind =
board5
bpm0
dbe
afe
bind =
bpm1
dbe
afe
bind =
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