Buildroot on Linux 2.4

The standard Buildroot does not work on Linux 2.4.x-based systems, due to an incompatibility in.

manages dependencies in kernel modules, and generates the data the kernel needs to load the modules in the correct sequence. The 2.6.x kernel used by the Gumstix uses a slightly different module format, which the  in 2.4.x does not understand.

The solution: download a newer version of module-init-tools, build it, and do not install it. This will give you a new, secondary copy of depmod for use while building the Buildroot.

Building
First, grab the latest version of module-init-tools.

Do not do the next steps as root -- your system's existing copy of  is absolutely essential. If you make a mistake typing the commands below while running as root, you can overwrite, leaving your Linux system dead.

Unpack and build the module-init-tools package with: tar -xjvf cd ./configure make

Do not run .

In this directory will be your shiny new.

Rebuilding the Buildroot
Now, return to the Buildroot directory and build it again, telling it where to find the new  binary: make DEPMOD=

Note that the absolute path is necessary (it's the complete path, i.e. ).

It will all work!