Skip to content
Snippets Groups Projects
Commit ec69d3c3 authored by Lucas Russo's avatar Lucas Russo
Browse files

hal/{dev_io}/*: rename dev_io to dev_io_be

This gives more meaning to the program and allow us
to create more dev_io's, such as the new RFFE dev_io,
in the near future.
parent 13a57317
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,12 @@ dev_io_DIR = hal/dev_io
# Here we call <output_name>_core_OBJS as we need to add
# more objects to this target. This is done in the hal.mk
# makefile
dev_io_core_OBJS = $(dev_io_DIR)/dev_io.o \
dev_io_core_OBJS = $(dev_io_DIR)/dev_io_be.o \
$(dev_io_DIR)/dev_io_core.o \
$(dev_io_DIR)/dev_io_err.o
$(dev_io_DIR)/dev_io_err.o
dev_io_INCLUDE_DIRS = $(dev_io_DIR) $(LIBCLIENT_DIR)
dev_io_OUT = dev_io
dev_io_be_OUT = dev_io_be
dev_io_OUT = $(dev_io_be_OUT)
......@@ -4,7 +4,7 @@
#include <unistd.h>
#include "czmq.h"
#include "dev_io.h"
#include "dev_io_be.h"
#include "debug_print.h"
#include "ll_io_utils.h"
#include "board.h"
......@@ -15,7 +15,8 @@ static devio_err_e spwan_platform_smios (devio_t *devio);
void print_help (char *program_name)
{
printf( "Usage: %s [options]\n"
printf( "DBE BPM Device I/O\n"
"Usage: %s [options]\n"
"\t-h This help message\n"
"\t-d Daemon mode.\n"
"\t-v Verbose output\n"
......
#ifndef _DEV_IO_
#define _DEV_IO_
#ifndef _DEV_BE_IO_
#define _DEV_BE_IO_
#include "dev_io_core.h"
......
......@@ -24,12 +24,14 @@ dev_mngr_OBJS = $(dev_mngr_core_OBJS) $(debug_OBJS) \
$(thsafe_msg_zmq_OBJS) $(ll_io_utils_OBJS)
# msg_OBJS already contains exp_ops_OBJS. So, there is no need to include
# it here twice
dev_io_OBJS = $(dev_io_core_OBJS) $(ll_io_OBJS) $(sm_io_OBJS) \
dev_io_be_OBJS = $(dev_io_core_OBJS) $(ll_io_OBJS) $(sm_io_OBJS) \
$(msg_OBJS) $(debug_OBJS) $(hal_utils_OBJS)
dev_mngr_LIBS =
dev_io_LIBS =
dev_io_STATIC_LIBS = $(LIBCLIENT_DIR)/libbpmclient.a
dev_mngr_STATIC_LIBS =
dev_io_be_LIBS =
dev_io_be_STATIC_LIBS = $(LIBCLIENT_DIR)/libbpmclient.a
# Merge all hal objects together
hal_OBJS = $(debug_OBJS) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment