Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
FMC DEL 1ns 4cha - 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
FMC DEL 1ns 4cha - Software
Commits
e6fb8c3e
Commit
e6fb8c3e
authored
Oct 16, 2012
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
various: Makefile fixes; spec-sw update for submodules
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
b90c5db3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
8 deletions
+21
-8
Makefile
Makefile
+16
-3
Makefile
kernel/Makefile
+3
-3
Makefile
lib/Makefile
+1
-1
Makefile
tools/Makefile
+1
-1
No files found.
Makefile
View file @
e6fb8c3e
DIRS
=
kernel tools lib doc
.PHONY
:
all clean modules install modules_install
.PHONY
:
gitmodules prerequisites prerequisites_install
DIRS
=
kernel tools lib
all clean modules install modules_install
:
gitmodules
for
d
in
$(DIRS)
;
do
$(MAKE)
-C
$$
d
$@
||
exit
1
;
done
# This target is used to checkout the submodules after a clone
all modules
:
prerequisites
install modules_install
:
prerequisites_install
# The following targets are used to manage prerequisite repositories
gitmodules
:
@
test
-d
fmc-bus/doc
||
echo
"Checking out submodules"
@
test
-d
fmc-bus/doc
||
git submodule init
&&
git submodule update
SUBMOD
=
fmc-bus spec-sw zio
prerequisites
:
for
d
in
$(SUBMOD)
;
do
$(MAKE)
-C
$$
d
||
exit
1
;
done
prerequisites_install
:
for
d
in
$(SUBMOD)
;
do
$(MAKE)
-C
$$
d
install
||
exit
1
;
done
.PHONY
:
all clean modules install modules_install gitmodules
kernel/Makefile
View file @
e6fb8c3e
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
ZIO
?=
$(
HOME)
/zio
SPEC_SW
?=
$(
HOME)
/spec-sw
FMC_BUS
?=
$(
HOME)
/fmc-bus
ZIO
?=
$(
M)
/..
/zio
SPEC_SW
?=
$(
M)
/..
/spec-sw
FMC_BUS
?=
$(
M)
/..
/fmc-bus
KBUILD_EXTRA_SYMBOLS
:=
\
$(ZIO)
/Module.symvers
\
...
...
lib/Makefile
View file @
e6fb8c3e
...
...
@@ -6,7 +6,7 @@ LOBJ += fdelay-time.o
LOBJ
+=
fdelay-tdc.o
LOBJ
+=
fdelay-output.o
CFLAGS
=
-Wall
-ggdb
-O2
-I
../kernel
-I
$(ZIO)
/include
CFLAGS
=
-Wall
-ggdb
-O2
-I
../kernel
-I
../zio
/include
LDFLAGS
=
-L
.
-lfdelay
DEMOSRC
:=
fdelay-list.c
...
...
tools/Makefile
View file @
e6fb8c3e
...
...
@@ -2,7 +2,7 @@
M
=
$(
shell
/bin/pwd
)
/../kernel
HOST_EXTRACFLAGS
+=
-I
$(M)
-I
$(ZIO)
/include
-Wno-trigraphs
-Wall
-ggdb
HOST_EXTRACFLAGS
+=
-I
$(M)
-I
../zio
/include
-Wno-trigraphs
-Wall
-ggdb
HOSTCC
?=
gcc
...
...
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