FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
linux-kernel-module-template/xmake.lua at master · DavidingPlus/linux-kernel-module-template · GitHub
DavidingPlus
/
linux-kernel-module-template
Public template
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Issues
2
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
linux-kernel-module-template
/
xmake.lua
Copy path
More file actions
More file actions
Latest commit
History
History
History
31 lines (19 loc) · 761 Bytes
Breadcrumbs
linux-kernel-module-template
/
xmake.lua
Copy path
File metadata and controls
31 lines (19 loc) · 761 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
set_project
(
"
linux-kernel-module
"
)
set_version
(
"
1.1.1
"
)
option
(
"
linux-headers
"
, {
showmenu
=
true
,
description
=
"
Set linux-headers path.
"
})
option
(
"
with-gtest
"
, {
showmenu
=
true
,
description
=
"
Whether to enable unit test by GTest.
"
,
default
=
false
})
set_configdir
(
"
$(buildir)/config
"
)
add_configfiles
(
"
src/config.h.in
"
)
add_includedirs
(
"
$(buildir)/config/
"
)
add_includedirs
(
"
src/
"
)
target
(
"
linux-kernel-module
"
)
add_rules
(
"
platform.linux.module
"
)
add_files
(
"
src/*.c
"
)
set_values
(
"
linux.driver.linux-headers
"
,
"
$(linux-headers)
"
)
set_languages
(
"
gnu99
"
)
add_cflags
(
"
-O1
"
)
set_targetdir
(
"
$(buildir)/$(plat)/$(arch)/$(mode)/bin/
"
)
includes
(
"
snippet
"
)
if
has_config
(
"
with-gtest
"
)
then
includes
(
"
test
"
)
end
Back
|
FazBrowse Home
|
New Git URL