Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lx2160a_build
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
lx2160a_build
Commits
e23b92f8
Commit
e23b92f8
authored
Jan 10, 2024
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile trx_sdr kernel module
parent
afd21fd3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
runme.sh
runme.sh
+8
-1
No files found.
runme.sh
View file @
e23b92f8
...
...
@@ -22,7 +22,7 @@ set -e
# Distribution for rootfs
# - ubuntu
# - debian
:
${
DISTRO
:
=
ubuntu
}
:
${
DISTRO
:
=
debian
}
# Ubuntu Version
# - focal (20.04)
# - jammy (22.04)
...
...
@@ -460,6 +460,13 @@ if [[ -d ${ROOTDIR}/build/mdio-proxy-module ]]; then
install
-v
-m644
-D
mdio-proxy.ko
"
${
ROOTDIR
}
/images/tmp/lib/modules/
${
KRELEASE
}
/kernel/extra/mdio-proxy.ko"
fi
# Build trx_sdr kernel module
if
[[
-d
${
ROOTDIR
}
/trx_sdr-aarch64-2023-12-15/kernel
]]
;
then
cd
"
${
ROOTDIR
}
/trx_sdr-aarch64-2023-12-15/kernel"
make
-C
"
${
ROOTDIR
}
/build/linux"
CROSS_COMPILE
=
"
$CROSS_COMPILE
"
ARCH
=
arm64
CFLAGS_MODULE
=
'-DCONFIG_VERSION=\"$(CONFIG_VERSION)\"'
M
=
"
$PWD
"
modules
install
-v
-m644
-D
sdr.ko
"
${
ROOTDIR
}
/images/tmp/lib/modules/
${
KRELEASE
}
/kernel/extra/sdr.ko"
fi
# regenerate modules dependencies
depmod
-b
"
${
ROOTDIR
}
/images/tmp"
-F
"
${
ROOTDIR
}
/build/linux/System.map"
${
KRELEASE
}
...
...
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