# Linux Kernel Module Cheat

### 27.1. build-userland

build-userland

Build userland programs.

Build all with:

    ./build-userland

or build only those under e.g. `userland/c` with:

    ./build-userland userland/c

The executables are not automatically added to the Buildroot image, you must follow the command with a `./build-buildroot` command as in:

    ./build-userland
    ./build-buildroot

Remember that certain executables have specific requirements, e.g.:

- userland/arch/ programs only build if the target arch matches

- userland/libs directory require the `--package` option userland/libs directory

Default: build all examples that have their package dependencies met, e.g.:

- an OpenBLAS example can only be built if the target root filesystem has the OpenBLAS libraries and headers installed, which you must inform with --package