Lines Matching refs:kernel
3 This document describes how to build an out-of-tree kernel module.
36 "kbuild" is the build system used by the Linux kernel. Modules must use
53 To build external modules, you must have a prebuilt kernel available
55 Also, the kernel must have been built with modules enabled. If you are
56 using a distribution kernel, there will be a package for the kernel you
60 make sure the kernel contains the information required. The target
61 exists solely as a simple way to prepare a kernel source tree for
65 CONFIG_MODVERSIONS is set; therefore, a full kernel build needs to be
77 To build against the running kernel use:
88 ($KDIR refers to the path of the kernel source directory.)
93 The directory where the kernel source is located.
113 attempts are made to update the kernel source, and it is a
115 kernel.
136 This works equally well for the kernel, a module, and even for
149 running kernel. The module is not actually built, however, because a
157 and, after linking, will result in the kernel module <module_name>.ko.
214 In newer versions of the kernel, kbuild will first look for a
279 build the kernel module 8123.ko; it has been included as
303 Within the kernel, header files are kept in standard locations
310 of the kernel that are located in different directories, then
332 is not the usual kernel style. To inform kbuild of the
382 root of the kernel tree (the argument to "-C") and therefore an
390 Modules which are included in the kernel are installed in the
393 /lib/modules/$(KERNELRELEASE)/kernel/
406 => Install dir: /frodo/lib/modules/$(KERNELRELEASE)/kernel/
431 CRC values contained in the kernel are compared with similar values in
432 the module; if they are not equal, the kernel refuses to load the
435 Module.symvers contains a list of all exported symbols from a kernel
440 During a kernel build, a file named Module.symvers will be
442 the kernel and compiled modules. For each symbol, the
450 For a kernel build without CONFIG_MODVERSIONS enabled, the CRC
460 to the symbols from the kernel to check if all external symbols
462 the symbols by reading Module.symvers from the kernel source
467 defined in the kernel.
504 not defined in the kernel. To get access to symbols
511 all symbols defined and not part of the kernel.