BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rpusbdisp
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Forest Godfrey
rpusbdisp
Commits
204831ad
Commit
204831ad
authored
Apr 18, 2019
by
Forest Godfrey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give KERNEL_SOURCE_DIR the more common name KERNEL_SRC for compatibility
with Yocto (among other build systems)
parent
0315643a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Makefile
drivers/linux-driver/Makefile
+4
-4
No files found.
drivers/linux-driver/Makefile
View file @
204831ad
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
DRIVER_NAME
:=
rp_usbdisplay
DRIVER_NAME
:=
rp_usbdisplay
KERNEL_S
OURCE_DIR
?=
/lib/modules/
`
uname
-r
`
/build
KERNEL_S
RC
?=
/lib/modules/
`
uname
-r
`
/build
EXTRA_CFLAGS
+=
-I
$(PWD)
/src
-I
$(PWD)
/../common
EXTRA_CFLAGS
+=
-I
$(PWD)
/src
-I
$(PWD)
/../common
...
@@ -27,12 +27,12 @@ DRIVER_FILES := src/main.o \
...
@@ -27,12 +27,12 @@ DRIVER_FILES := src/main.o \
$(DRIVER_NAME)-objs
:
= $(DRIVER_FILES)
$(DRIVER_NAME)-objs
:
= $(DRIVER_FILES)
modules
:
modules
:
$(MAKE)
-C
$(KERNEL_S
OURCE_DIR
)
KCPPFLAGS
=
"
$(EXTRA_CFLAGS)
"
M
=
$(PWD)
modules
$(MAKE)
-C
$(KERNEL_S
RC
)
KCPPFLAGS
=
"
$(EXTRA_CFLAGS)
"
M
=
$(PWD)
modules
modules_install
:
modules_install
:
$(MAKE)
-C
$(KERNEL_S
OURCE_DIR
)
M
=
$(PWD)
modules_install
$(MAKE)
-C
$(KERNEL_S
RC
)
M
=
$(PWD)
modules_install
install
:
modules_install
install
:
modules_install
clean
:
clean
:
$(MAKE)
-C
$(KERNEL_S
OURCE_DIR
)
M
=
$(PWD)
clean
$(MAKE)
-C
$(KERNEL_S
RC
)
M
=
$(PWD)
clean
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