Lines Matching refs:modules
28 --- 6.1 Symbols From the Kernel (vmlinux + modules)
41 to pick up the right flags to "gcc." Functionality for building modules
43 either is similar, and all modules are initially developed and built
47 in building out-of-tree (or "external") modules. The author of an
57 To build external modules, you must have a prebuilt kernel available
59 Also, the kernel must have been built with modules enabled. If you are
66 building external modules.
84 $ make -C /lib/modules/`uname -r`/build M=$PWD
89 $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install
124 modules
125 The default target for external modules. It has the
131 /lib/modules/<kernel_release>/extra/, but a prefix may
138 List the available targets for external modules.
145 external modules.
204 KDIR ?= /lib/modules/`uname -r`/build
238 KDIR ?= /lib/modules/`uname -r`/build
248 each file; however, some external modules use makefiles
267 KDIR ?= /lib/modules/`uname -r`/build
286 Some external modules need to include an object file as a blob.
306 kbuild supports building multiple modules with a single build
307 file. For example, if you wanted to build two modules, foo.ko
350 External modules tend to place header files in a separate
415 /lib/modules/$(KERNELRELEASE)/kernel/
417 And external modules are installed in:
419 /lib/modules/$(KERNELRELEASE)/extra/
429 => Install dir: /frodo/lib/modules/$(KERNELRELEASE)/kernel/
434 and out-of-tree modules.
439 External modules are by default installed to a directory under
440 /lib/modules/$(KERNELRELEASE)/extra/, but you may wish to
441 locate modules for a specific functionality in a separate
447 => Install dir: /lib/modules/$(KERNELRELEASE)/gandalf/
463 6.1 Symbols From the Kernel (vmlinux + modules)
468 the kernel and compiled modules. For each symbol, the
485 1) It lists all exported symbols from vmlinux and all modules.
513 If you have two modules, foo.ko and bar.ko, where
515 common top-level kbuild file so both modules are
531 will then do the expected and compile both modules with
571 External modules have traditionally used "grep" to check for
573 broken. As introduced before, external modules should use
575 in-tree modules when testing for `CONFIG_` definitions.