Lines Matching full:files
22 (the resident kernel image) and modules (any module files).
46 any kernel Makefiles (or any other source files).
65 The kbuild files
72 The preferred name for the kbuild files are ``Makefile`` but ``Kbuild`` can
83 These lines define the files to be built, any special compilation
109 The kbuild Makefile specifies object files for vmlinux
113 Kbuild compiles all the $(obj-y) files. It then calls
114 ``$(AR) rcSTP`` to merge these files into one built-in.a file.
118 The order of files in $(obj-y) is significant. Duplicates in
132 # Each configuration option enables a list of files.
139 $(obj-m) specifies object files which are built as loadable
143 files. In the case of one source file, the kbuild makefile
153 If a kernel module is built from several source files, you specify
155 kbuild needs to know which object files you want to build your
167 ``$(LD) -r`` on the list of these files to generate isdn.o.
205 Note that the same kbuild makefile may list files to be built-in
226 directory. Files in subdirectories should be taken care of by
387 $(AFLAGS_$@) is a similar feature for source files in assembly
405 1) All prerequisite files (both ``*.c`` and ``*.h``)
406 2) ``CONFIG_`` options used in all prerequisite files
409 Thus, if you change an option to $(CC) all affected files will
417 header files generated during the build process.
424 path to prerequisite files and target files.
431 referring to files located in the src tree.
436 referring to generated files.
447 The target file depends on two prerequisite files. References
450 generated files).
493 and its prerequisite files. GNU Make updates the target when any of the
546 assembler (``*.S``) files -- supports the given option. An optional
743 files. In the above example, checklist.c is compiled to checklist.o
746 Finally, the two .o files are linked to the executable, lxdialog.
765 If qconf is composed of a mixture of .c and .cc files, then an
790 consist of several source files (see ``samples/rust/hostprogs``).
905 files. In the above example, bpf-fancy.c is compiled to bpf-fancy.o
908 Finally, the two .o files are linked to the executable, bpf-fancy.
977 ``make clean`` deletes most generated files in the obj tree where the kernel
978 is compiled. This includes generated files such as host programs.
981 during ``make clean``. Files matching the patterns ``*.[oas]``, ``*.ko``, plus
982 some additional files generated by kbuild are deleted all over the kernel
985 Additional files or directories can be specified in kbuild makefiles by use of
986 $(clean-files).
991 clean-files := crc32table.h
994 Kbuild will assume files to be in the same relative directory as the
997 To exclude certain files or directories from make clean, use the
998 $(no-clean-files) variable.
1047 5) All object files are then linked and the resulting file vmlinux is
1219 All object files for vmlinux. They are linked to vmlinux in the same
1226 All .a ``lib`` files for vmlinux. KBUILD_VMLINUX_OBJS and
1227 KBUILD_VMLINUX_LIBS together specify all the object files used to
1233 The archheaders: rule is used to generate header files that
1245 This is usually used for header files containing assembler constants.
1256 generating offset header files.
1294 it, wrap it in bootstrapping code, and copy the resulting files
1377 frees us from listing the setup.o and bootsect.o files.
1425 kbuild knows .lds files and includes a rule ``*lds.S`` -> ``*lds``.
1446 The kbuild infrastructure for ``*lds`` files is used in several
1447 architecture-specific files.
1449 Generic header files
1452 The directory include/asm-generic contains the header files
1494 arch/<arch>/include/asm/ to list asm files coming from asm-generic.
1538 If an architecture generates other header files alongside generic-y
1585 determine which files to compile.
1657 - Describe how kbuild supports shipped files with _shipped.
1658 - Generating offset header files.