Lines Matching refs:files
9 === 3 The kbuild files
43 --- 6.10 Generic header files
70 (the resident kernel image) and modules (any module files).
93 any kernel Makefiles (or any other source files).
112 === 3 The kbuild files
117 The preferred name for the kbuild files are 'Makefile' but 'Kbuild' can
127 These lines define the files to be built, any special compilation
150 The kbuild Makefile specifies object files for vmlinux
154 Kbuild compiles all the $(obj-y) files. It then calls
155 "$(LD) -r" to merge these files into one built-in.o file.
158 The order of files in $(obj-y) is significant. Duplicates in
171 # Each configuration option enables a list of files.
177 $(obj-m) specifies object files which are built as loadable
181 files. In the case of one source file, the kbuild makefile
190 If a kernel module is built from several source files, you specify
192 kbuild needs to know which object files you want to build your
203 "$(LD) -r" on the list of these files to generate isdn.o.
244 Note that the same kbuild makefile may list files to be built-in
345 $(AFLAGS_$@) is a similar feature for source files in assembly
358 1) All prerequisite files (both *.c and *.h)
359 2) CONFIG_ options used in all prerequisite files
362 Thus, if you change an option to $(CC) all affected files will
369 header files generated during the build process.
376 path to prerequisite files and target files.
383 referring to files located in the src tree.
388 referring to generated files.
397 The target file depends on two prerequisite files. References
400 generated files).
426 assembler (*.S) files -- supports the given option. An optional
439 cc-ldoption is used to check if $(CC) when used to link object files
641 files. In the above example, checklist.c is compiled to checklist.o
643 Finally, the two .o files are linked to the executable, lxdialog.
660 If qconf is composed of a mixture of .c and .cc files, then an
744 "make clean" deletes most generated files in the obj tree where the kernel
745 is compiled. This includes generated files such as host programs.
748 Files matching the patterns "*.[oas]", "*.ko", plus some additional files
752 Additional files can be specified in kbuild makefiles by use of $(clean-files).
756 clean-files := crc32table.h
758 When executing "make clean", the two files "devlist.h classlist.h" will be
759 deleted. Kbuild will assume files to be in the same relative directory as the
771 To exclude certain files from make clean, use the $(no-clean-files) variable.
776 no-clean-files := $(bounds-file) $(offsets-file)
826 5) All object files are then linked and the resulting file vmlinux is
852 linking the .ko files used for modules.
965 The archheaders: rule is used to generate header files that
980 This is usually used for header files containing assembler constants.
989 generating offset header files.
1024 it, wrap it in bootstrapping code, and copy the resulting files
1082 2) kbuild knows what files to delete during "make clean"
1088 In this example, extra-y is used to list object files that
1105 When the rule is evaluated, it is checked to see if any files
1152 frees us from listing the setup.o and bootsect.o files.
1171 clean-files += *.dtb
1207 kbuild knows .lds files and includes a rule *lds.S -> *lds.
1228 The kbuild infrastructure for *lds files is used in several
1229 architecture-specific files.
1231 --- 6.10 Generic header files
1233 The directory include/asm-generic contains the header files
1255 header-y specifies header files to be exported.
1273 genhdr-y specifies generated files to be exported.
1274 Generated files are special as they need to be looked
1350 determine which files to compile.
1413 - Describe how kbuild supports shipped files with _shipped.
1414 - Generating offset header files.