Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
bpm-sw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
bpm
bpm-sw
Commits
8f0fd4b7
Commit
8f0fd4b7
authored
Jun 19, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile,compile.sh: add CFG variable to set config directory
Default location is lnls_defconfig.
parent
94deafd8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Makefile
Makefile
+3
-0
compile.sh
compile.sh
+4
-1
No files found.
Makefile
View file @
8f0fd4b7
...
...
@@ -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
...
...
compile.sh
View file @
8f0fd4b7
...
...
@@ -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
}
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment