Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
Beam Positoning Monitor - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
Beam Positoning Monitor - Software
Commits
55331592
Commit
55331592
authored
Dec 10, 2014
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compile.sh: add compilation script with all Makefile options
parent
b07bfd15
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
compile.sh
compile.sh
+38
-0
No files found.
compile.sh
0 → 100755
View file @
55331592
#!/bin/bash
# All of our Makefile options
# Select board in which we will work. Options are: ml605 or afcv3
BOARD
=
afcv3
#Select if we want to compile code with all messages outputs. Options are: y(es) or n(o)
LOCAL_MSG_DBG
=
n
#Select if we want to compile with debug mode on. Options are: y(es) or n(o)
DBE_DBG
=
y
# Select the FMC ADC board type. Options are: passive or active
FMC130M_4CH_TYPE
=
passive
# Select if we should program FMC EEPROM with some code or not. Option are:
# active, passive or nothing (dont' program EEPROM)
FMC130M_4CH_EEPROM_PROGRAM
=
# Selects if we want to compile DEV_MNGR. Options are: y(es) or n(o)
WITH_DEV_MNGR
=
y
# Selects if we want to compile DEVIO's for the Back-End (FPGA board). Options are: y(es) or n(o)
WITH_DBE_DEVIO
=
y
# Selects if we want to compile DEVIO's for the Front-End (RFFE). Options are: y(es) or n(o)
WITH_AFE_DEVIO
=
n
# Selects the AFE RFFE version. Options are: 2
AFE_RFFE_TYPE
=
2
COMMAND
=
"make mrproper &&
\
make BOARD=
${
BOARD
}
\
LOCAL_MSG_DBG=
${
LOCAL_MSG_DBG
}
\
DBE_DBG=
${
DBE_DBG
}
\
FMC130M_4CH_TYPE=
${
FMC130M_4CH_TYPE
}
\
FMC130M_4CH_EEPROM_PROGRAM=
${
FMC130M_4CH_EEPROM_PROGRAM
}
\
WITH_DEV_MNGR=
${
WITH_DEV_MNGR
}
\
WITH_DBE_DEVIO=
${
WITH_DBE_DEVIO
}
\
WITH_AFE_DEVIO=
${
WITH_AFE_DEVIO
}
\
AFE_RFFE_TYPE=
${
AFE_RFFE_TYPE
}
\
&& sudo make install"
echo
"Executing: "
${
COMMAND
}
eval
${
COMMAND
}
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