BAL and Maple Release 2.2
Signed-off-by: Shad Ansari <developer@Carbon.local>
diff --git a/bcm68620_release/release/host_reference/cli/Makefile b/bcm68620_release/release/host_reference/cli/Makefile
new file mode 100644
index 0000000..f6974c1
--- /dev/null
+++ b/bcm68620_release/release/host_reference/cli/Makefile
@@ -0,0 +1,26 @@
+# CLI engine
+#
+MOD_NAME = cli
+MOD_TYPE = lib
+MOD_DEPS = utils
+
+srcs = bcmcli_session.c
+ifeq ("$(ENABLE_CLI)", "y")
+ srcs += bcmcli.c
+ MOD_DEFS = -DENABLE_CLI
+
+ # Enable line editing by default. Can be overwritten in make command line
+ CONFIG_LIBEDIT ?= n
+ CONFIG_LINENOISE ?= y
+
+ # Extra configuration
+ ifeq ("$(CONFIG_LIBEDIT)", "y")
+ MOD_DEFS += -DCONFIG_LIBEDIT -DCONFIG_EDITLINE
+ MOD_LIBS += -ledit -ltermcap
+ CONFIG_LINENOISE = n
+ endif
+ ifeq ("$(CONFIG_LINENOISE)", "y")
+ MOD_DEPS += linenoise
+ endif
+endif
+