Lines Matching refs:modules
26 --- 6.1 Symbols From the Kernel (vmlinux + modules)
38 to pick up the right flags to "gcc." Functionality for building modules
40 either is similar, and all modules are initially developed and built
44 in building out-of-tree (or "external") modules. The author of an
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
62 building external modules.
79 $ make -C /lib/modules/`uname -r`/build M=$PWD
84 $ make -C /lib/modules/`uname -r`/build M=$PWD modules_install
117 modules
118 The default target for external modules. It has the
124 /lib/modules/<kernel_release>/extra/, but a prefix may
131 List the available targets for external modules.
137 external modules.
193 KDIR ?= /lib/modules/`uname -r`/build
225 KDIR ?= /lib/modules/`uname -r`/build
235 each file; however, some external modules use makefiles
253 KDIR ?= /lib/modules/`uname -r`/build
271 Some external modules need to include an object file as a blob.
290 kbuild supports building multiple modules with a single build
291 file. For example, if you wanted to build two modules, foo.ko
330 External modules tend to place header files in a separate
393 /lib/modules/$(KERNELRELEASE)/kernel/
395 And external modules are installed in:
397 /lib/modules/$(KERNELRELEASE)/extra/
406 => Install dir: /frodo/lib/modules/$(KERNELRELEASE)/kernel/
411 and out-of-tree modules.
415 External modules are by default installed to a directory under
416 /lib/modules/$(KERNELRELEASE)/extra/, but you may wish to
417 locate modules for a specific functionality in a separate
423 => Install dir: /lib/modules/$(KERNELRELEASE)/gandalf/
438 --- 6.1 Symbols From the Kernel (vmlinux + modules)
442 the kernel and compiled modules. For each symbol, the
454 1) It lists all exported symbols from vmlinux and all modules.
480 If you have two modules, foo.ko and bar.ko, where
482 common top-level kbuild file so both modules are
498 will then do the expected and compile both modules with
536 External modules have traditionally used "grep" to check for
538 broken. As introduced before, external modules should use
540 in-tree modules when testing for CONFIG_ definitions.