Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spec-sw
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
fmc-projects
spec
spec-sw
Commits
147c9b20
Commit
147c9b20
authored
12 years ago
by
Alessandro Rubini
Browse files
Options
Downloads
Patches
Plain Diff
kernel: accept WR_NIC_CFLAGS from the make command line
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
77fce9db
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
kernel/Makefile
+2
-1
2 additions, 1 deletion
kernel/Makefile
kernel/wr-nic-dio.c
+0
-2
0 additions, 2 deletions
kernel/wr-nic-dio.c
with
2 additions
and
3 deletions
kernel/Makefile
+
2
−
1
View file @
147c9b20
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
LINUX
?=
/lib/modules/
$(
shell
uname
-r
)
/build
ccflags-y
=
-I
$M
/include
ccflags-y
+=
-I
$M
/include
ccflags-y
+=
$(
WR_NIC_CFLAGS
)
obj-m
=
fmc.o
obj-m
=
fmc.o
obj-m
+=
spec.o
obj-m
+=
spec.o
...
...
This diff is collapsed.
Click to expand it.
kernel/wr-nic-dio.c
+
0
−
2
View file @
147c9b20
...
@@ -16,8 +16,6 @@
...
@@ -16,8 +16,6 @@
#include
"wr_nic/wr-nic.h"
#include
"wr_nic/wr-nic.h"
#include
"wr-dio.h"
#include
"wr-dio.h"
#define DIO_STAT
#ifdef DIO_STAT
#ifdef DIO_STAT
#define wrn_stat 1
#define wrn_stat 1
#else
#else
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment