Commit 8f0fd4b7 authored by Lucas Russo's avatar Lucas Russo

Makefile,compile.sh: add CFG variable to set config directory

Default location is lnls_defconfig.
parent 94deafd8
......@@ -38,6 +38,9 @@ PREFIX ?= /usr/local
export PREFIX
CFG_DIR ?= ${PREFIX}/etc/bpm_sw
export CFG_DIR
# SelectsGG which config file to install. Options are: crude_defconfig or lnls_defconfig
CFG ?= crude_defconfig
export CFG
# Config filename
CFG_FILENAME = bpm_sw.cfg
......
......@@ -56,6 +56,9 @@ CFG_FILENAME=/etc/bpm_sw/bpm_sw.cfg
# Selects the install location of the config file
PREFIX=/usr/local
CFG_DIR=${PREFIX}/etc/bpm_sw
# Selects which config file to install. Options are: crude_defconfig or lnls_defconfig
CFG=lnls_defconfig
export CFG
COMMAND_DEPS="\
make deps && \
......@@ -74,7 +77,7 @@ COMMAND_HAL="\
AFE_RFFE_TYPE=${AFE_RFFE_TYPE} \
WITH_DEVIO_CFG=${WITH_DEVIO_CFG} \
CFG_DIR=${CFG_DIR} && \
sudo make install"
sudo make CFG=${CFG} install"
COMMAND_LIBBPMCLIENT="\
make BOARD=${BOARD} \
......
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