-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux MAJOR.MINOR version numbers for architectures #1487
Comments
If you look at the Makefile of the kernel (
Hardcoding that in the kernel Makefiles in But there might not be a need for doing all that ;) Take a look at |
And that's what I get for looking through the spksrc repo instead of my working repo. Thanks heaps, that's exactly what I was hoping for. And yes, that file is exactly what I was after, so again, thanks heaps :) |
Np. By the way, you might want to have a look at the LIRC package (currently, the only package using kernel modules): there might be some code to reuse in there. |
Yup, the LIRC package is what I've been looking at, although it does the Kernel module within the source of main codebase, whereas I'm doing cp210x on it's own, so potentially other packages could add it as a dependency. Hopefully I'll have it sorted soon, just working out the kinks at the moment. |
I'm currently in the process of wrapping up the last part of #1478, which is cross-compile the cp210x kernel module, but part of the compilation process is the download of a file using the MAJOR.MINOR of the target linux build, for example, for Qoriq 5.1 I download the following file: https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/plain/drivers/usb/serial/cp210x.c?h=linux-2.6.32.y (2.6.32)
The problem is, while some of those numbers are potentially available in the kernel makefiles in the PKG_EXTRACT variable, they aren't all exactly what is needed. For instance, the file for Bromolow-5.1 uses the tag '3.4.y' (IIRC), yet the PKG_EXTRACT variable contains "3.x", which isn't explicit enough.
A variable somewhere like TC_LINUX_VER would be extremely helpful. I would be happy to try and do as much towards this as I can, but I don't have access to all the various architectures to know what versions they have,
The text was updated successfully, but these errors were encountered: