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
fefefad4
Commit
fefefad4
authored
Oct 24, 2019
by
Federico Vaga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
relicense drivers to GPL-2.0
Signed-off-by:
Federico Vaga
<
federico.vaga@cern.ch
>
parent
a6032d4c
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
45 deletions
+8
-45
GPL-2.0.txt
LICENSES/GPL-2.0.txt
+0
-0
Makefile
software/Makefile
+4
-41
htvic.c
software/htvic/drivers/htvic.c
+1
-1
htvic.h
software/htvic/drivers/htvic.h
+1
-1
spi-ocores.c
software/spi-ocores/drivers/spi/spi-ocores.c
+1
-1
spi-ocores.h
software/spi-ocores/include/linux/platform_data/spi-ocores.h
+1
-1
No files found.
LICENSES/GPL-2.0
-or-later
.txt
→
LICENSES/GPL-2.0.txt
View file @
fefefad4
File moved
software/Makefile
View file @
fefefad4
...
...
@@ -2,51 +2,14 @@
#
# Copyright (C) 2019 CERN
TOP_DIR
?=
$(
shell
pwd
)
/..
-include
Makefile.specific
# include parent_common.mk for buildsystem's defines
#use absolute path for REPO_PARENT
REPO_PARENT
?=
$(
shell
/bin/pwd
)
/..
-include
$(REPO_PARENT)/parent_common.mk
GCORES
?=
$(TOP_DIR)
include
$(GCORES)/common.mk
DIR_NAME
:=
general-cores-
$(VERSION)
DST
:=
$(PREFIX)
/usr/src/
$(DIR_NAME)
/
DIRS
:=
i2c-ocores
DIRS
+=
spi-ocores
DIRS
+=
htvic
GIT
?=
git
ifeq
(,$(shell
which
$(GIT)))
$(error
"Missing git"
)
endif
.PHONY
:
all clean modules install modules_install
.PHONY
:
all clean modules install modules_install dkms_install
all
:
modules
install
:
modules_install
all clean modules install modules_install
:
clean modules modules_install coccicheck
:
for
D
in
$(DIRS)
;
do
$(MAKE)
-C
$$
D
$@
;
done
dkms_install
:
$
(
eval
$@
_dst :
=
$(
shell
mktemp
-d
)
)
@
mkdir
-p
$
(
$@
_dst
)
@
mkdir
-p
$(DST)
ifdef
RPMBUILD
# We already did the file selection when producing the tar.gz
# Just copy
@cp
-a
$(GCORES)/*
$(DST)
else
@$(GIT)
archive
--format
=
tar
-o
$
(
$@
_dst
)
/
$(DIR_NAME)
.tar
--prefix
=
$(DIR_NAME)
/ HEAD
@cd
$($@_dst)
&&
tar
-xf
$(DIR_NAME).tar
@mv
$($@_dst)/$(DIR_NAME)/*
$(DST)
&&
rm
-rf
$($@_dst)
@cp
$(GCORES)/common.mk
$(DST)
endif
@sed
-e
'2,$$d'
-i
$(DST)/common.mk
@sed
-r
-i
-e
"s/@PKGVER@/$(VERSION)/"
$(DST)/dkms.conf
@sed
-e
"15d"
-e
"6,13d"
-e
"23,26d"
-e
'33,$$d'
\
-i
$(DST)/Makefile
@find
$(DST)
-name
Makefile
-exec
\
sed
-r
-e
"s,^(TOP_DIR.*)[.]{2}/?$$,\1,"
-i
{}
\;
software/htvic/drivers/htvic.c
View file @
fefefad4
// SPDX-License-Identifier: GPL-2.0
-or-later
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2016 CERN
* Author: Federico Vaga <federico.vaga@cern.ch>
...
...
software/htvic/drivers/htvic.h
View file @
fefefad4
/* SPDX-License-Identifier: GPL-2.0
-or-later
*/
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (c) 2016 CERN
* Author: Federico Vaga <federico.vaga@cern.ch>
...
...
software/spi-ocores/drivers/spi/spi-ocores.c
View file @
fefefad4
// SPDX-License-Identifier: GPL-2.0
-or-later
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@cern.ch>
...
...
software/spi-ocores/include/linux/platform_data/spi-ocores.h
View file @
fefefad4
// SPDX-License-Identifier: GPL-2.0
-or-later
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2019 CERN (www.cern.ch)
* Author: Federico Vaga <federico.vaga@cern.ch>
...
...
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