Replies: 1 comment
-
Another post (#648 (comment)) suggested using the pkgs repo to build drivers. I tried that and was able to successfully build these drivers. I knew it would be something simple |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm attempting to build the Realtek r8152 driver with support for the r8157 chipset. I'm running into an issue though where
linux-headers
aren't available so the build fails. I attempted adding the toolchain image as a dependency since it supposedly includes thelinux headers
but the build still fails.The build script for the r8152 driver specifically looks for
/usr/lib/modules/$(KERNELRELEASE)/build
but this directory doesnt exist. When i search online, this build directory missing seems to indicate that linux headers arent installed.I cloned this extensions repo, added my files. edited the Makefile to add my package as a target and run
make target-realtek-r8152-drivers
.manidest.yaml:
pkg.yaml:
vars.yaml:
Any help would be appreciated. I'm sure I'm overlooking something simple, but I just cant figure it out.
Beta Was this translation helpful? Give feedback.
All reactions