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
e991c411
Commit
e991c411
authored
Sep 15, 2015
by
Lucas Russo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci_build.sh: add KERNEL flags needed by PCIE driver
parent
e9261d59
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
ci_build.sh
ci_build.sh
+13
-2
No files found.
ci_build.sh
View file @
e991c411
...
...
@@ -18,7 +18,18 @@ CONFIG_FLAGS+=("CFLAGS=-I${BUILD_PREFIX}/include")
CONFIG_FLAGS+
=(
"CPPFLAGS=-I
${
BUILD_PREFIX
}
/include"
)
CONFIG_FLAGS+
=(
"CXXFLAGS=-I
${
BUILD_PREFIX
}
/include"
)
CONFIG_FLAGS+
=(
"LDFLAGS=-L
${
BUILD_PREFIX
}
/lib"
)
CONFIG_OPTS
=(
$CONFIG_FLAGS
)
KERNEL_FLAGS
=()
KERNEL_FLAGS+
=(
"INSTALLDIR=
${
BUILD_PREFIX
}
/lib/modules/
$(
shell
uname
-r
)
/extra"
)
KERNEL_FLAGS+
=(
"INSTALLHDRDIR=
${
BUILD_PREFIX
}
/include/pciDriver/driver"
)
BPM_OPTS
=()
BPM_OPTS+
=(
${
CONFIG_FLAGS
[@]
}
)
BPM_OPTS+
=(
${
KERNEL_FLAGS
[@]
}
)
BPM_OPTS+
=(
"PREFIX=
${
BUILD_PREFIX
}
"
)
CONFIG_OPTS
=()
CONFIG_OPTS+
=(
${
CONFIG_FLAGS
[@]
}
)
CONFIG_OPTS+
=(
"PKG_CONFIG_PATH=
${
BUILD_PREFIX
}
/lib/pkgconfig"
)
CONFIG_OPTS+
=(
"--prefix=
${
BUILD_PREFIX
}
"
)
...
...
@@ -47,4 +58,4 @@ git clone --branch=${MALAMUTE_VER} git://github.com/lnls-dig/malamute.git &&
(
cd
malamute
;
./autogen.sh
&&
./configure
"
${
CONFIG_OPTS
[@]
}
"
&&
make check
&&
make
install
)
||
exit
1
./compile.sh
$BOARD
$WITH_EXAMPLES
"
${
CONFIG_FLAG
S
[@]
}
"
./compile.sh
$BOARD
$WITH_EXAMPLES
"
${
BPM_OPT
S
[@]
}
"
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