Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple VME FMC Carrier SVEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
14
Issues
14
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
Simple VME FMC Carrier SVEC
Commits
f9cbd123
Commit
f9cbd123
authored
Sep 26, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: improve Makefile targets
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
5224fb1b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
10 deletions
+12
-10
Makefile
software/Makefile
+5
-3
Makefile
software/kernel/Makefile
+7
-7
No files found.
software/Makefile
View file @
f9cbd123
...
...
@@ -4,14 +4,16 @@
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/..
-include
$(REPO_PARENT)/parent_common.mk
DIRS
=
kernel
doc
DIRS
=
kernel
.PHONY
:
all clean modules install modules_install $(DIRS)
.PHONY
:
all clean modules install modules_install
coccicheck
$(DIRS)
all clean modules install modules_install
:
$(DIRS)
all clean
:
$(DIRS)
install modules_install coccicheck modules
:
kernel
clean
:
TARGET = clean
modules
:
TARGET = modules
coccicheck
:
TARGET = coccicheck
install
:
TARGET = install
modules_install
:
TARGET = modules_install
...
...
software/kernel/Makefile
View file @
f9cbd123
...
...
@@ -23,12 +23,17 @@ CHEBY ?= /usr/bin/cheby
all
:
modules
.PHONY
:
all modules clean help install modules_install svec-core-fpga.h
.PHONY
:
all modules clean help install modules_install
coccicheck
svec-core-fpga.h
svec-core-fpga.h
:
$(CHEBY)
--gen-c
-i
$(HDL_DIR)
/rtl/svec_base_regs.cheby
>
$@
modules help install modules_install
:
svec-core-fpga.h
clean-spec-core-fpga.h
:
rm
-f
spec-core-fpga.h
install
:
modules_install
clean
:
clean-spec-core-fpga.h
modules help coccichek modules_install
:
svec-core-fpga.h
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
\
VERSION
=
$(VERSION)
\
VMEBRIDGE_ABS
=
$(VMEBRIDGE_ABS)
\
...
...
@@ -37,8 +42,3 @@ modules help install modules_install: svec-core-fpga.h
FMC_ABS
=
$(FMC_ABS)
\
I2C_ABS
=
$(I2C_ABS)
\
$@
# be able to run the "clean" rule even if $(LINUX) is not valid
clean
:
rm
-rf
*
.o
*
~ .
*
.cmd
*
.ko
*
.mod.c .tmp_versions Module.symvers
\
Module.markers modules.order svec-core-fpga.h
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