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
5
Merge Requests
5
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
25295f32
Commit
25295f32
authored
Oct 21, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sw] improve driver installation
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
0b6030b4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
33 additions
and
3 deletions
+33
-3
common.mk
common.mk
+6
-0
Makefile
software/htvic/drivers/Makefile
+9
-1
Makefile
software/i2c-ocores/drivers/i2c/busses/Makefile
+9
-1
Makefile
software/spi-ocores/drivers/spi/Makefile
+9
-1
No files found.
common.mk
0 → 100644
View file @
25295f32
PREFIX ?= /
GIT_VERSION := $(shell git describe --always --dirty --long --tags)
VERSION := $(shell git describe --tags --abbrev=0 | tr -d 'v')
GCORES_SW := $(GCORES)/software
software/htvic/drivers/Makefile
View file @
25295f32
...
...
@@ -2,15 +2,23 @@
#
# Copyright (C) 2019 CERN
TOP_DIR
?=
$(
shell
pwd
)
/../../../
-include
Makefile.specific
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/../..
-include
$(REPO_PARENT)/parent_common.mk
GCORES
?=
$(TOP_DIR)
include
$(GCORES)/common.mk
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
all
:
modules
clean modules help
modules_install
:
clean modules help
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
$@
modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
INSTALL_MOD_PATH
=
$(PREFIX)
$@
.PHONY
:
all modules clean help install modules_install
software/i2c-ocores/drivers/i2c/busses/Makefile
View file @
25295f32
...
...
@@ -6,15 +6,23 @@
#
# Copyright (C) 2019 CERN
TOP_DIR
?=
$(
shell
pwd
)
/../../../../../
-include
Makefile.specific
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/../..
-include
$(REPO_PARENT)/parent_common.mk
GCORES
?=
$(TOP_DIR)
include
$(GCORES)/common.mk
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
all
:
modules
clean modules help
modules_install
:
clean modules help
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
CONFIG_I2C_OCORES
=
m
$@
modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
INSTALL_MOD_PATH
=
$(PREFIX)
$@
.PHONY
:
all modules clean help install modules_install
software/spi-ocores/drivers/spi/Makefile
View file @
25295f32
...
...
@@ -2,15 +2,23 @@
#
# Copyright (C) 2019 CERN
TOP_DIR
?=
$(
shell
pwd
)
/../../../../
-include
Makefile.specific
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/../..
-include
$(REPO_PARENT)/parent_common.mk
GCORES
?=
$(TOP_DIR)
include
$(GCORES)/common.mk
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
all
:
modules
clean modules help
modules_install
:
clean modules help
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
CONFIG_SPI_OCORES
=
m
$@
modules_install
:
$(MAKE)
-C
$(LINUX)
M
=
$(
shell
/bin/pwd
)
INSTALL_MOD_PATH
=
$(PREFIX)
$@
.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