There's just one thing I can't understand... How can I point to where the kernel sources are? Cause the .aps file from pac-man can't be built. Could you explain me please?
You do so in the Makefile, which is itself located in the "default" folder. You can see near the top it has the line:
- Code: Select all
KERNEL_DIR = ../kernel
Further down in the Makefile it uses KERNEL_DIR to include and compile necessary dependencies. Once it compiles the kernel, it then compiles pacman which relies on the kernel.
Currently, KERNEL_DIR is a relative path. It points to one directory up from "default" and then looks for a folder called "kernel". You can probably make it an absolute path (although I've never tried that) with something like:
- Code: Select all
KERNEL_DIR = C:/RafaelDPerez/uzebox/kernel
Then the build tools will look there instead of one directory up from "default". The only reason I didn't include the kernel files is because I thought people might object to constantly downloading the kernel. In hindsight, that probably wasn't much of a problem and I should have just included it. I'll do that when I do a cleanup of all my uzebox stuff.
The attached zip includes the kernel folder and should build with no problems (it did for me). I will concede that there were a couple of redefined typedef's in the pacman download depending on which version of the kernel you built it against, so I have removed them in the attached zip file.