Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Simple PCIe FMC carrier SPEC
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
50
Issues
50
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 PCIe FMC carrier SPEC
Commits
3fbd4379
Commit
3fbd4379
authored
Sep 26, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: Makefile cleanup
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
3a188bd0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
Makefile
software/Makefile
+3
-5
Makefile
software/kernel/Makefile
+9
-2
No files found.
software/Makefile
View file @
3fbd4379
...
@@ -7,9 +7,10 @@ REPO_PARENT ?= $(shell /bin/pwd)/..
...
@@ -7,9 +7,10 @@ REPO_PARENT ?= $(shell /bin/pwd)/..
DIRS
=
kernel
DIRS
=
kernel
.PHONY
:
all clean modules install modules_install $(DIRS)
.PHONY
:
all clean modules install modules_install
coccicheck
$(DIRS)
all clean modules install coccicheck modules_install
:
$(DIRS)
all clean
:
$(DIRS)
install modules_install coccicheck modules
:
kernel
clean
:
TARGET = clean
clean
:
TARGET = clean
modules
:
TARGET = modules
modules
:
TARGET = modules
...
@@ -17,8 +18,5 @@ coccicheck: TARGET = coccicheck
...
@@ -17,8 +18,5 @@ coccicheck: TARGET = coccicheck
install
:
TARGET = install
install
:
TARGET = install
modules_install
:
TARGET = modules_install
modules_install
:
TARGET = modules_install
ENV_VAR
:=
CONFIG_FPGA_MGR_BACKPORT_PATH
=
$(CONFIG_FPGA_MGR_BACKPORT_PATH)
ENV_VAR
+=
CONFIG_FPGA_MGR_BACKPORT
=
$(CONFIG_FPGA_MGR_BACKPORT)
$(DIRS)
:
$(DIRS)
:
$(MAKE)
-C
$@
$(ENV_VAR)
$(TARGET)
$(MAKE)
-C
$@
$(ENV_VAR)
$(TARGET)
software/kernel/Makefile
View file @
3fbd4379
...
@@ -43,7 +43,7 @@ CHEBY ?= /usr/bin/cheby
...
@@ -43,7 +43,7 @@ CHEBY ?= /usr/bin/cheby
all
:
modules
all
:
modules
.PHONY
:
all modules clean help install modules_install spec-core-fpga.h
.PHONY
:
all modules clean help install modules_install
coccicheck
spec-core-fpga.h
spec-core-fpga.h
:
spec-core-fpga.h
:
ifeq
($(DKMS),
0)
ifeq
($(DKMS),
0)
...
@@ -58,4 +58,11 @@ endif
...
@@ -58,4 +58,11 @@ endif
install
:
modules_install
install
:
modules_install
clean
:
clean-spec-core-fpga.h
clean
:
clean-spec-core-fpga.h
modules help coccicheck modules_install clean
:
spec-core-fpga.h
modules help coccicheck modules_install clean
:
spec-core-fpga.h
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
VERSION
=
$(VERSION)
CONFIG_FPGA_MGR_BACKPORT_PATH_ABS
=
$(CONFIG_FPGA_MGR_BACKPORT_PATH_ABS)
CONFIG_FPGA_MGR_BACKPORT
=
$(CONFIG_FPGA_MGR_BACKPORT)
FMC_ABS
=
$(FMC_ABS)
I2C_ABS
=
$(I2C_ABS)
SPI_ABS
=
$(SPI_ABS)
$@
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
pwd
)
\
VERSION
=
$(VERSION)
\
CONFIG_FPGA_MGR_BACKPORT_PATH_ABS
=
$(CONFIG_FPGA_MGR_BACKPORT_PATH_ABS)
\
CONFIG_FPGA_MGR_BACKPORT
=
$(CONFIG_FPGA_MGR_BACKPORT)
\
FMC_ABS
=
$(FMC_ABS)
\
I2C_ABS
=
$(I2C_ABS)
\
SPI_ABS
=
$(SPI_ABS)
\
$@
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