2005-05-01 22:59:10 +07:00
|
|
|
*.a
|
|
|
|
*.aux
|
2012-11-14 16:55:00 +07:00
|
|
|
*.bc
|
2005-05-01 22:59:10 +07:00
|
|
|
*.bin
|
2011-05-24 01:55:42 +07:00
|
|
|
*.bz2
|
2016-05-24 05:09:38 +07:00
|
|
|
*.c.[012]*.*
|
2011-05-24 01:55:42 +07:00
|
|
|
*.cis
|
2005-05-01 22:59:10 +07:00
|
|
|
*.cpio
|
2008-10-16 12:01:48 +07:00
|
|
|
*.csp
|
|
|
|
*.dsp
|
2005-05-01 22:59:10 +07:00
|
|
|
*.dvi
|
2008-10-16 12:01:48 +07:00
|
|
|
*.elf
|
2005-05-01 22:59:10 +07:00
|
|
|
*.eps
|
2008-09-02 05:09:51 +07:00
|
|
|
*.fw
|
2011-05-24 01:55:42 +07:00
|
|
|
*.gcno
|
|
|
|
*.gcov
|
2008-10-16 12:01:48 +07:00
|
|
|
*.gen.S
|
2005-05-01 22:59:10 +07:00
|
|
|
*.gif
|
|
|
|
*.grep
|
|
|
|
*.grp
|
|
|
|
*.gz
|
|
|
|
*.html
|
2007-05-24 03:58:03 +07:00
|
|
|
*.i
|
2005-05-01 22:59:10 +07:00
|
|
|
*.jpeg
|
|
|
|
*.ko
|
2012-11-14 16:55:00 +07:00
|
|
|
*.ll
|
2005-05-01 22:59:10 +07:00
|
|
|
*.log
|
|
|
|
*.lst
|
2011-05-24 01:55:42 +07:00
|
|
|
*.lzma
|
|
|
|
*.lzo
|
|
|
|
*.mo
|
2007-05-24 03:58:03 +07:00
|
|
|
*.moc
|
kbuild: create *.mod with full directory path and remove MODVERDIR
While descending directories, Kbuild produces objects for modules,
but do not link final *.ko files; it is done in the modpost.
To keep track of modules, Kbuild creates a *.mod file in $(MODVERDIR)
for every module it is building. Some post-processing steps read the
necessary information from *.mod files. This avoids descending into
directories again. This mechanism was introduced in 2003 or so.
Later, commit 551559e13af1 ("kbuild: implement modules.order") added
modules.order. So, we can simply read it out to know all the modules
with directory paths. This is easier than parsing the first line of
*.mod files.
$(MODVERDIR) has a flat directory structure, that is, *.mod files
are named only with base names. This is based on the assumption that
the module name is unique across the tree. This assumption is really
fragile.
Stephen Rothwell reported a race condition caused by a module name
conflict:
https://lkml.org/lkml/2019/5/13/991
In parallel building, two different threads could write to the same
$(MODVERDIR)/*.mod simultaneously.
Non-unique module names are the source of all kind of troubles, hence
commit 3a48a91901c5 ("kbuild: check uniqueness of module names")
introduced a new checker script.
However, it is still fragile in the build system point of view because
this race happens before scripts/modules-check.sh is invoked. If it
happens again, the modpost will emit unclear error messages.
To fix this issue completely, create *.mod with full directory path
so that two threads never attempt to write to the same file.
$(MODVERDIR) is no longer needed.
Since modules with directory paths are listed in modules.order, Kbuild
is still able to find *.mod files without additional descending.
I also killed cmd_secanalysis; scripts/mod/sumversion.c computes MD4 hash
for modules with MODULE_VERSION(). When CONFIG_DEBUG_SECTION_MISMATCH=y,
it occurs not only in the modpost stage, but also during directory
descending, where sumversion.c may parse stale *.mod files. It would emit
'No such file or directory' warning when an object consisting a module is
renamed, or when a single-obj module is turned into a multi-obj module or
vice versa.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Nicolas Pitre <nico@fluxnic.net>
2019-07-17 13:17:57 +07:00
|
|
|
*.mod
|
2005-05-01 22:59:10 +07:00
|
|
|
*.mod.c
|
|
|
|
*.o
|
2007-07-31 14:37:26 +07:00
|
|
|
*.o.*
|
2011-05-24 01:55:42 +07:00
|
|
|
*.order
|
2005-05-01 22:59:10 +07:00
|
|
|
*.orig
|
|
|
|
*.out
|
2011-05-24 01:55:42 +07:00
|
|
|
*.patch
|
2005-05-01 22:59:10 +07:00
|
|
|
*.pdf
|
2012-11-14 16:55:00 +07:00
|
|
|
*.plist
|
2005-05-01 22:59:10 +07:00
|
|
|
*.png
|
2011-05-24 01:55:42 +07:00
|
|
|
*.pot
|
2005-05-01 22:59:10 +07:00
|
|
|
*.ps
|
|
|
|
*.rej
|
|
|
|
*.s
|
|
|
|
*.sgml
|
|
|
|
*.so
|
2008-10-16 12:01:48 +07:00
|
|
|
*.so.dbg
|
2007-05-24 03:58:03 +07:00
|
|
|
*.symtypes
|
|
|
|
*.tab.c
|
|
|
|
*.tab.h
|
2005-05-01 22:59:10 +07:00
|
|
|
*.tex
|
|
|
|
*.ver
|
2005-05-06 06:15:52 +07:00
|
|
|
*.xml
|
2011-05-24 01:55:42 +07:00
|
|
|
*.xz
|
2005-05-01 22:59:10 +07:00
|
|
|
*_MODULES
|
|
|
|
*_vga16.c
|
2005-04-17 05:25:56 +07:00
|
|
|
*~
|
2011-05-24 01:55:42 +07:00
|
|
|
\#*#
|
2007-05-24 03:58:03 +07:00
|
|
|
*.9
|
2005-05-01 22:59:10 +07:00
|
|
|
.*
|
2011-05-24 01:55:42 +07:00
|
|
|
.*.d
|
2007-10-17 13:30:30 +07:00
|
|
|
.mm
|
2005-05-01 22:59:10 +07:00
|
|
|
53c700_d.h
|
|
|
|
CVS
|
|
|
|
ChangeSet
|
2011-05-24 01:55:42 +07:00
|
|
|
GPATH
|
|
|
|
GRTAGS
|
|
|
|
GSYMS
|
|
|
|
GTAGS
|
2005-07-16 22:43:49 +07:00
|
|
|
Image
|
2008-10-16 12:01:48 +07:00
|
|
|
Module.markers
|
2005-05-01 22:59:10 +07:00
|
|
|
Module.symvers
|
|
|
|
PENDING
|
|
|
|
SCCS
|
|
|
|
System.map*
|
|
|
|
TAGS
|
2011-05-24 01:55:42 +07:00
|
|
|
aconf
|
|
|
|
af_names.h
|
2005-04-17 05:25:56 +07:00
|
|
|
aic7*reg.h*
|
|
|
|
aic7*reg_print.c*
|
2005-05-01 22:59:10 +07:00
|
|
|
aic7*seq.h*
|
2005-04-17 05:25:56 +07:00
|
|
|
aicasm
|
|
|
|
aicdb.h*
|
2011-05-24 01:55:42 +07:00
|
|
|
altivec*.c
|
2007-05-03 00:27:21 +07:00
|
|
|
asm-offsets.h
|
|
|
|
asm_offsets.h
|
2005-04-17 05:25:56 +07:00
|
|
|
autoconf.h*
|
2009-10-23 02:38:26 +07:00
|
|
|
av_permissions.h
|
2005-04-17 05:25:56 +07:00
|
|
|
bbootsect
|
|
|
|
bin2c
|
|
|
|
binkernel.spec
|
|
|
|
bootsect
|
2008-10-16 12:01:48 +07:00
|
|
|
bounds.h
|
2005-04-17 05:25:56 +07:00
|
|
|
bsetup
|
|
|
|
btfixupprep
|
|
|
|
build
|
|
|
|
bvmlinux
|
|
|
|
bzImage*
|
2011-05-24 01:55:42 +07:00
|
|
|
capability_names.h
|
2011-01-06 07:27:15 +07:00
|
|
|
capflags.c
|
2005-04-17 05:25:56 +07:00
|
|
|
classlist.h*
|
|
|
|
comp*.log
|
2005-05-01 22:59:10 +07:00
|
|
|
compile.h*
|
2007-05-24 03:58:03 +07:00
|
|
|
conf
|
2005-04-17 05:25:56 +07:00
|
|
|
config
|
|
|
|
config-*
|
2011-05-24 01:55:42 +07:00
|
|
|
config.mak
|
|
|
|
config.mak.autogen
|
2005-04-17 05:25:56 +07:00
|
|
|
conmakehash
|
|
|
|
consolemap_deftbl.c*
|
2008-10-16 12:01:48 +07:00
|
|
|
cpustr.h
|
2005-05-01 22:59:10 +07:00
|
|
|
crc32table.h*
|
2005-04-17 05:25:56 +07:00
|
|
|
cscope.*
|
2008-10-16 12:01:48 +07:00
|
|
|
defkeymap.c
|
2005-04-17 05:25:56 +07:00
|
|
|
devlist.h*
|
2017-01-17 05:31:15 +07:00
|
|
|
devicetable-offsets.h
|
2011-05-24 01:55:42 +07:00
|
|
|
dnotify_test
|
|
|
|
dslm
|
2017-01-17 05:31:15 +07:00
|
|
|
dtc
|
2007-05-24 03:58:03 +07:00
|
|
|
elf2ecoff
|
2005-05-01 22:59:10 +07:00
|
|
|
elfconfig.h*
|
2011-01-06 07:27:15 +07:00
|
|
|
evergreen_reg_safe.h
|
2005-04-17 05:25:56 +07:00
|
|
|
fixdep
|
2009-10-23 02:38:26 +07:00
|
|
|
flask.h
|
2005-04-17 05:25:56 +07:00
|
|
|
fore200e_mkfirm
|
|
|
|
fore200e_pca_fw.c*
|
2007-05-24 03:58:03 +07:00
|
|
|
gconf
|
2019-04-29 21:53:50 +07:00
|
|
|
gconf-cfg
|
2005-04-17 05:25:56 +07:00
|
|
|
gen-devlist
|
2005-05-01 22:59:10 +07:00
|
|
|
gen_crc32table
|
|
|
|
gen_init_cpio
|
2009-10-18 02:33:34 +07:00
|
|
|
generated
|
2009-10-23 02:38:26 +07:00
|
|
|
genheaders
|
2005-04-17 05:25:56 +07:00
|
|
|
genksyms
|
2007-05-24 03:58:03 +07:00
|
|
|
*_gray256.c
|
2011-05-24 01:55:42 +07:00
|
|
|
hpet_example
|
|
|
|
hugepage-mmap
|
|
|
|
hugepage-shm
|
2008-10-16 12:01:48 +07:00
|
|
|
ihex2fw
|
2011-01-06 07:27:15 +07:00
|
|
|
inat-tables.c
|
2005-04-17 05:25:56 +07:00
|
|
|
initramfs_list
|
2011-01-06 07:27:15 +07:00
|
|
|
int16.c
|
|
|
|
int1.c
|
|
|
|
int2.c
|
|
|
|
int32.c
|
|
|
|
int4.c
|
|
|
|
int8.c
|
2005-05-01 22:59:10 +07:00
|
|
|
kallsyms
|
2008-10-16 12:01:48 +07:00
|
|
|
keywords.c
|
2005-04-17 05:25:56 +07:00
|
|
|
ksym.c*
|
|
|
|
ksym.h*
|
2017-01-17 05:31:15 +07:00
|
|
|
*lex.c
|
|
|
|
*lex.*.c
|
2011-05-24 01:55:42 +07:00
|
|
|
linux
|
2005-05-01 22:59:10 +07:00
|
|
|
logo_*.c
|
2005-04-17 05:25:56 +07:00
|
|
|
logo_*_clut224.c
|
|
|
|
logo_*_mono.c
|
2005-08-04 01:49:18 +07:00
|
|
|
mach-types
|
2005-07-16 22:43:49 +07:00
|
|
|
mach-types.h
|
2007-05-24 03:58:03 +07:00
|
|
|
machtypes.h
|
2005-04-17 05:25:56 +07:00
|
|
|
map
|
2011-05-24 01:55:42 +07:00
|
|
|
map_hugetlb
|
2007-05-24 03:58:03 +07:00
|
|
|
mconf
|
2019-04-29 21:53:50 +07:00
|
|
|
mconf-cfg
|
2007-05-24 03:58:03 +07:00
|
|
|
miboot*
|
2005-05-01 22:59:10 +07:00
|
|
|
mk_elfconfig
|
2007-05-24 03:58:03 +07:00
|
|
|
mkboot
|
|
|
|
mkbugboot
|
2008-10-16 12:01:48 +07:00
|
|
|
mkcpustr
|
2005-04-17 05:25:56 +07:00
|
|
|
mkdep
|
2007-05-24 03:58:03 +07:00
|
|
|
mkprep
|
2011-05-24 01:55:42 +07:00
|
|
|
mkregtable
|
2005-05-01 22:59:10 +07:00
|
|
|
mktables
|
2007-05-24 03:58:03 +07:00
|
|
|
mktree
|
unicode: refactor the rule for regenerating utf8data.h
scripts/mkutf8data is used only when regenerating utf8data.h,
which never happens in the normal kernel build. However, it is
irrespectively built if CONFIG_UNICODE is enabled.
Moreover, there is no good reason for it to reside in the scripts/
directory since it is only used in fs/unicode/.
Hence, move it from scripts/ to fs/unicode/.
In some cases, we bypass build artifacts in the normal build. The
conventional way to do so is to surround the code with ifdef REGENERATE_*.
For example,
- 7373f4f83c71 ("kbuild: add implicit rules for parser generation")
- 6aaf49b495b4 ("crypto: arm,arm64 - Fix random regeneration of S_shipped")
I rewrote the rule in a more kbuild'ish style.
In the normal build, utf8data.h is just shipped from the check-in file.
$ make
[ snip ]
SHIPPED fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
If you want to generate utf8data.h based on UCD, put *.txt files into
fs/unicode/, then pass REGENERATE_UTF8DATA=1 from the command line.
The mkutf8data tool will be automatically compiled to generate the
utf8data.h from the *.txt files.
$ make REGENERATE_UTF8DATA=1
[ snip ]
HOSTCC fs/unicode/mkutf8data
GEN fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
I renamed the check-in utf8data.h to utf8data.h_shipped so that this
will work for the out-of-tree build.
You can update it based on the latest UCD like this:
$ make REGENERATE_UTF8DATA=1 fs/unicode/
$ cp fs/unicode/utf8data.h fs/unicode/utf8data.h_shipped
Also, I added entries to .gitignore and dontdiff.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2019-04-29 00:45:36 +07:00
|
|
|
mkutf8data
|
2005-05-01 22:59:10 +07:00
|
|
|
modpost
|
2011-01-06 07:27:15 +07:00
|
|
|
modules.builtin
|
2019-04-29 23:11:14 +07:00
|
|
|
modules.builtin.modinfo
|
2019-10-29 19:38:07 +07:00
|
|
|
modules.nsdeps
|
2008-04-18 22:18:16 +07:00
|
|
|
modules.order
|
2005-04-17 05:25:56 +07:00
|
|
|
modversions.h*
|
2011-05-24 01:55:42 +07:00
|
|
|
nconf
|
2019-04-29 21:53:50 +07:00
|
|
|
nconf-cfg
|
2008-10-16 12:01:48 +07:00
|
|
|
ncscope.*
|
2005-06-23 14:10:09 +07:00
|
|
|
offset.h
|
2005-04-17 05:25:56 +07:00
|
|
|
oui.c*
|
2011-05-24 01:55:42 +07:00
|
|
|
page-types
|
2008-10-16 12:01:48 +07:00
|
|
|
parse.c
|
|
|
|
parse.h
|
2007-05-24 03:58:03 +07:00
|
|
|
patches*
|
|
|
|
pca200e.bin
|
|
|
|
pca200e_ecd.bin2
|
2011-05-24 01:55:42 +07:00
|
|
|
perf.data
|
|
|
|
perf.data.old
|
|
|
|
perf-archive
|
2007-05-24 03:58:03 +07:00
|
|
|
piggyback
|
2011-05-24 01:55:42 +07:00
|
|
|
piggy.gzip
|
2011-01-06 07:27:15 +07:00
|
|
|
piggy.S
|
2005-05-01 22:59:10 +07:00
|
|
|
pnmtologo
|
2005-04-17 05:25:56 +07:00
|
|
|
ppc_defs.h*
|
2005-05-01 22:59:10 +07:00
|
|
|
pss_boot.h
|
2007-05-24 03:58:03 +07:00
|
|
|
qconf
|
2019-04-29 21:53:50 +07:00
|
|
|
qconf-cfg
|
2011-01-06 07:27:15 +07:00
|
|
|
r100_reg_safe.h
|
|
|
|
r200_reg_safe.h
|
|
|
|
r300_reg_safe.h
|
|
|
|
r420_reg_safe.h
|
|
|
|
r600_reg_safe.h
|
2017-05-06 13:37:45 +07:00
|
|
|
randomize_layout_hash.h
|
|
|
|
randomize_layout_seed.h
|
2011-05-24 01:55:42 +07:00
|
|
|
recordmcount
|
2007-05-24 03:58:03 +07:00
|
|
|
relocs
|
2011-05-24 01:55:42 +07:00
|
|
|
rlim_names.h
|
2011-01-06 07:27:15 +07:00
|
|
|
rn50_reg_safe.h
|
|
|
|
rs600_reg_safe.h
|
|
|
|
rv515_reg_safe.h
|
2007-05-24 03:58:03 +07:00
|
|
|
series
|
2005-04-17 05:25:56 +07:00
|
|
|
setup
|
2007-07-31 14:37:26 +07:00
|
|
|
setup.bin
|
|
|
|
setup.elf
|
2017-01-17 05:31:15 +07:00
|
|
|
sortextable
|
2007-05-24 03:58:03 +07:00
|
|
|
sImage
|
2005-04-17 05:25:56 +07:00
|
|
|
sm_tbl*
|
|
|
|
split-include
|
2008-10-16 12:01:48 +07:00
|
|
|
syscalltab.h
|
2011-01-06 07:27:15 +07:00
|
|
|
tables.c
|
2005-04-17 05:25:56 +07:00
|
|
|
tags
|
2011-05-24 01:55:42 +07:00
|
|
|
test_get_len
|
2007-05-24 03:58:03 +07:00
|
|
|
tftpboot.img
|
2008-04-18 22:28:35 +07:00
|
|
|
timeconst.h
|
2005-04-17 05:25:56 +07:00
|
|
|
times.h*
|
2005-05-01 22:59:10 +07:00
|
|
|
trix_boot.h
|
2006-09-23 02:37:56 +07:00
|
|
|
utsrelease.h*
|
2008-10-16 12:01:48 +07:00
|
|
|
vdso-syms.lds
|
2007-10-17 13:30:30 +07:00
|
|
|
vdso.lds
|
2008-10-16 12:01:48 +07:00
|
|
|
vdso32-int80-syms.lds
|
|
|
|
vdso32-syms.lds
|
|
|
|
vdso32-syscall-syms.lds
|
|
|
|
vdso32-sysenter-syms.lds
|
|
|
|
vdso32.lds
|
|
|
|
vdso32.so.dbg
|
|
|
|
vdso64.lds
|
|
|
|
vdso64.so.dbg
|
2005-04-17 05:25:56 +07:00
|
|
|
version.h*
|
2011-05-24 01:55:42 +07:00
|
|
|
vmImage
|
2005-04-17 05:25:56 +07:00
|
|
|
vmlinux
|
|
|
|
vmlinux-*
|
2007-05-24 03:58:03 +07:00
|
|
|
vmlinux.aout
|
2011-05-24 01:55:42 +07:00
|
|
|
vmlinux.bin.all
|
2008-10-16 12:01:48 +07:00
|
|
|
vmlinux.lds
|
2011-05-24 01:55:42 +07:00
|
|
|
vmlinuz
|
2011-01-06 07:27:15 +07:00
|
|
|
voffset.h
|
2005-04-17 05:25:56 +07:00
|
|
|
vsyscall.lds
|
2008-10-16 12:01:48 +07:00
|
|
|
vsyscall_32.lds
|
2005-05-01 22:59:10 +07:00
|
|
|
wanxlfw.inc
|
2005-05-06 06:15:52 +07:00
|
|
|
uImage
|
2007-05-24 03:58:03 +07:00
|
|
|
unifdef
|
unicode: refactor the rule for regenerating utf8data.h
scripts/mkutf8data is used only when regenerating utf8data.h,
which never happens in the normal kernel build. However, it is
irrespectively built if CONFIG_UNICODE is enabled.
Moreover, there is no good reason for it to reside in the scripts/
directory since it is only used in fs/unicode/.
Hence, move it from scripts/ to fs/unicode/.
In some cases, we bypass build artifacts in the normal build. The
conventional way to do so is to surround the code with ifdef REGENERATE_*.
For example,
- 7373f4f83c71 ("kbuild: add implicit rules for parser generation")
- 6aaf49b495b4 ("crypto: arm,arm64 - Fix random regeneration of S_shipped")
I rewrote the rule in a more kbuild'ish style.
In the normal build, utf8data.h is just shipped from the check-in file.
$ make
[ snip ]
SHIPPED fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
If you want to generate utf8data.h based on UCD, put *.txt files into
fs/unicode/, then pass REGENERATE_UTF8DATA=1 from the command line.
The mkutf8data tool will be automatically compiled to generate the
utf8data.h from the *.txt files.
$ make REGENERATE_UTF8DATA=1
[ snip ]
HOSTCC fs/unicode/mkutf8data
GEN fs/unicode/utf8data.h
CC fs/unicode/utf8-norm.o
CC fs/unicode/utf8-core.o
CC fs/unicode/utf8-selftest.o
AR fs/unicode/built-in.a
I renamed the check-in utf8data.h to utf8data.h_shipped so that this
will work for the out-of-tree build.
You can update it based on the latest UCD like this:
$ make REGENERATE_UTF8DATA=1 fs/unicode/
$ cp fs/unicode/utf8data.h fs/unicode/utf8data.h_shipped
Also, I added entries to .gitignore and dontdiff.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2019-04-29 00:45:36 +07:00
|
|
|
utf8data.h
|
2008-10-16 12:01:48 +07:00
|
|
|
wakeup.bin
|
|
|
|
wakeup.elf
|
|
|
|
wakeup.lds
|
2007-05-24 03:58:03 +07:00
|
|
|
zImage*
|
2011-01-06 07:27:15 +07:00
|
|
|
zoffset.h
|