Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
P
Platform-independent core collection
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
18
Issues
18
List
Board
Labels
Milestones
Merge Requests
6
Merge Requests
6
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
Platform-independent core collection
Commits
5ba6c68d
Commit
5ba6c68d
authored
Oct 14, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw: add modules_install target on Makefiles
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
7b03c14c
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
33 deletions
+14
-33
Makefile
software/Makefile
+2
-11
Makefile
software/i2c-ocores/Makefile
+3
-3
Makefile
software/i2c-ocores/drivers/i2c/busses/Makefile
+3
-8
Makefile
software/spi-ocores/Makefile
+3
-2
Makefile
software/spi-ocores/drivers/spi/Makefile
+3
-9
No files found.
software/Makefile
View file @
5ba6c68d
...
...
@@ -11,14 +11,5 @@ DIRS += htvic
.PHONY
:
all clean modules install modules_install $(DIRS)
all clean
:
$(DIRS)
clean
:
$(MAKE)
clean
:
TARGET = clean
modules
:
TARGET = modules
install
:
TARGET = install
modules_install
:
TARGET = modules_install
$(DIRS)
:
$(MAKE)
-C
$@
$(TARGET)
all clean modules install modules_install
:
for
D
in
$(DIRS)
;
do
$(MAKE)
-C
$$
D
$@
;
done
software/i2c-ocores/Makefile
View file @
5ba6c68d
...
...
@@ -6,8 +6,8 @@ REPO_PARENT ?= $(shell /bin/pwd)/../..
all
:
modules
modules clean
:
export
CONFIG_I2C_OCORES
=
m
install
:
modules_install
clean modules modules_install
:
make
-C
$(
shell
pwd
)
/drivers/i2c/busses
$@
.PHONY
:
all modules clean
.PHONY
:
modules modules_install clean all
software/i2c-ocores/drivers/i2c/busses/Makefile
View file @
5ba6c68d
...
...
@@ -8,12 +8,7 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
all
:
modules
modules
:
i2c-ocores
clean modules help modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
CONFIG_I2C_OCORES
=
m
$@
clean
:
rm
-f
*
.o
*
.ko
*
.mod.o
*
.mod.c Module.symvers modules.order
i2c-ocores
:
make
-C
$(LINUX)
M
=
$(
shell
pwd
)
CONFIG_I2C_OCORES
=
m modules
.PHONY
:
all modules clean
.PHONY
:
all modules clean help install modules_install
software/spi-ocores/Makefile
View file @
5ba6c68d
...
...
@@ -6,7 +6,8 @@ REPO_PARENT ?= $(shell /bin/pwd)/../..
all
:
modules
modules clean
:
install
:
modules_install
clean modules modules_install
:
make
-C
$(
shell
pwd
)
/drivers/spi
$@
.PHONY
:
all modules clean
.PHONY
:
modules modules_install clean all
software/spi-ocores/drivers/spi/Makefile
View file @
5ba6c68d
...
...
@@ -8,13 +8,7 @@ LINUX ?= /lib/modules/$(shell uname -r)/build
all
:
modules
modules
:
spi-ocores
clean modules help modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
CONFIG_SPI_OCORES
=
m
$@
clean
:
rm
-f
*
.o
*
.ko
*
.mod.o
*
.mod.c Module.symvers modules.order
spi-ocores
:
make
-C
$(LINUX)
M
=
$(
shell
pwd
)
CONFIG_SPI_OCORES
=
m modules
.PHONY
:
all modules clean
.PHONY
:
all modules clean help install modules_install
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