Sami Tolvanen
85414490f5
ANDROID: kbuild: avoid excessively long argument lists
...
With LTO, modules with a large number of compilation units maybe end
up exceeding the for loop argument list in the shell. Reduce the
probability for this happening by including only the modules that have
exported symbols.
Bug: 150234396
Change-Id: I4a289aff47e1444aca28d1bd00b125628f39bcd5
Suggested-by: Hsiu-Chang Chen <hsiuchangchen@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Git-commit: 1245167
Git-repo: https://android.googlesource.com/kernel/common
Signed-off-by: Prakruthi Deepak Heragu <pheragu@codeaurora.org>
2020-02-27 12:21:13 -08:00
..
atomic
locking/atomics: Use sed(1) instead of non-standard head(1) option
2019-06-25 10:17:07 +02:00
basic
kbuild: remove unneeded comments and code from scripts/basic/Makefile
2019-08-29 23:54:29 +09:00
coccinelle
coccinelle: api/devm_platform_ioremap_resource: remove useless script
2019-10-17 09:05:56 -07:00
dtc
scripts: Makefile: add support to use external DTC
2019-12-10 11:04:19 -08:00
gcc-plugins
randstruct: Check member structs in is_pure_ops_struct()
2019-07-31 13:13:22 -07:00
gdb
scripts/gdb: fix debugging modules compiled with hot/cold partitioning
2019-11-06 08:47:50 -08:00
genksyms
genksyms: convert to SPDX License Identifier for lex.l and parse.y
2019-09-14 11:40:13 +09:00
gki
scripts: gki: Add proper MAKE PATH
2020-02-21 10:57:17 -08:00
kconfig
scripts: gki: Add proper MAKE PATH
2020-02-21 10:57:17 -08:00
ksymoops
mod
ANDROID: scripts/mod: disable LTO for empty.c
2019-11-27 12:49:10 -08:00
package
kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package
2019-08-25 07:42:00 +09:00
selinux
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
tracing
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
.gitignore
scripts: remove unnecessary ihex2fw and check-lc_ctypes from .gitignore
2018-12-22 00:37:52 +09:00
adjust_autoksyms.sh
kbuild: remove the first line of *.mod files
2019-07-18 02:19:31 +09:00
asn1_compiler.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 36
2019-05-24 17:27:11 +02:00
bin2c.c
bloat-o-meter
bloat-o-meter: ignore __addressable_ symbols
2018-12-28 12:11:44 -08:00
bootgraph.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
bpf_helpers_doc.py
bpf: fix script for generating man page on BPF helpers
2019-05-13 01:12:45 +02:00
build-all.py
scripts: snapshot of kernel build utility scripts
2019-05-30 18:02:41 -07:00
cc-can-link.sh
check-config-debug-exemptions
scripts: snapshot of kernel build utility scripts
2019-05-30 18:02:41 -07:00
check-config-perf-exemptions
scripts: snapshot of kernel build utility scripts
2019-05-30 18:02:41 -07:00
check-config.py
scripts: snapshot of kernel build utility scripts
2019-05-30 18:02:41 -07:00
check_extable.sh
checkincludes.pl
checkkconfigsymbols.py
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
checkpatch.pl
checkpatch: check symlinks while searching compatible strings
2019-12-03 17:09:16 -08:00
checkstack.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
checksyscalls.sh
checksyscalls: fix up mq_timedreceive and stat exceptions
2019-02-19 21:27:53 +01:00
checkversion.pl
clang-android.sh
ANDROID: Kbuild, LLVMLinux: allow overriding clang target triple
2019-05-03 10:39:56 -07:00
clang-version.sh
kbuild: update comment block of scripts/clang-version.sh
2019-03-04 22:34:54 +09:00
cleanfile
cleanpatch
coccicheck
config
conmakehash.c
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 54
2019-05-24 17:36:42 +02:00
const_structs.checkpatch
decode_stacktrace.sh
scripts/decode_stacktrace: Accept dash/underscore in modules
2019-07-12 11:05:41 -07:00
decodecode
scripts/decodecode: set ARCH when running natively on arm/arm64
2018-12-28 12:11:44 -08:00
depmod.sh
kbuild: modules_install: warn when missing System.map file
2018-09-09 09:14:07 +09:00
diffconfig
documentation-file-ref-check
scripts/documentation-file-ref-check: ignore output dir
2019-06-14 14:43:01 -06:00
export_report.pl
Revert "ANDROID: Revert "Merge tag 'modules-for-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/jeyu/linux""
2019-11-13 10:14:45 +00:00
extract-cert.c
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
extract_xc3028.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
faddr2line
scripts/faddr2line: fix location of start_kernel in comment
2018-11-18 10:15:09 -08:00
file-size.sh
find-unused-docs.sh
gcc-goto.sh
jump_label: move 'asm goto' support test to Kconfig
2019-01-06 09:46:51 +09:00
gcc-ld
gcc-plugin.sh
gcc-version.sh
kbuild: clean up scripts/gcc-version.sh
2019-03-04 22:35:04 +09:00
gcc-wrapper.py
Merge remote-tracking branch 'remotes/origin/tmp-3fde1dfb006c' into msm-lahaina
2019-10-23 14:22:32 -07:00
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_compile_commands.py
gen_compile_commands: lower the entry count threshold
2019-07-27 12:18:19 +09:00
gen_ksymdeps.sh
kbuild: simplify dependency generation for CONFIG_TRIM_UNUSED_KSYMS
2018-12-01 23:13:14 +09:00
generate_initcall_order.pl
ANDROID: init: ensure initcall ordering with LTO
2019-11-27 12:49:11 -08:00
get_abi.pl
doc: ABI scripts: add a SPDX header file
2019-06-21 16:58:37 +02:00
get_dvb_firmware
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61
2019-05-24 17:36:45 +02:00
get_maintainer.pl
get_maintainer: add ability to skip moderated mailing lists
2019-07-16 19:23:22 -07:00
gfp-translate
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
headerdep.pl
headers_check.pl
headers_install.sh
kbuild: re-implement detection of CONFIG options leaked to user-space
2019-08-21 21:05:21 +09:00
insert-sys-cert.c
kallsyms.c
kallsyms: exclude kasan local symbols on s390
2019-07-08 02:25:59 +09:00
Kbuild.include
kbuild: remove ar-option and KBUILD_ARFLAGS
2019-10-01 09:20:33 +09:00
Kconfig.include
kbuild: Fail if gold linker is detected
2019-08-14 01:10:42 +09:00
kernel-doc
kernel-doc: Allow anonymous enum
2019-08-12 15:00:37 -06:00
ld-version.sh
leaking_addresses.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
Lindent
link-vmlinux.sh
ANDROID: init: ensure initcall ordering with LTO
2019-11-27 12:49:11 -08:00
Makefile
Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/zohar/linux-integrity
2019-09-27 19:37:27 -07:00
Makefile.asm-generic
kbuild: force all architectures except um to include mandatory-y
2019-03-17 12:56:32 +09:00
Makefile.build
ANDROID: kbuild: avoid excessively long argument lists
2020-02-27 12:21:13 -08:00
Makefile.clean
kbuild: clean up subdir-ymn calculation in Makefile.clean
2019-08-29 23:54:29 +09:00
Makefile.dtbinst
Makefile.dtbo
scripts: Makefile: Add multi overlay dtbo-base apply verify
2019-12-10 11:04:18 -08:00
Makefile.extrawarn
kbuild: allow Clang to find unused static inline functions for W=1 build
2019-09-09 23:55:43 +09:00
Makefile.gcc-plugins
gcc-plugins: structleak: Generalize to all variable types
2019-03-04 09:29:41 -08:00
Makefile.headersinst
kbuild: fix 'No such file or directory' warning for headers_install
2019-06-24 03:43:03 +09:00
Makefile.host
kbuild: change *FLAGS_<basetarget>.o to take the path relative to $(obj)
2019-09-04 23:12:50 +09:00
Makefile.kasan
kasan/arm64: fix CONFIG_KASAN_SW_TAGS && KASAN_INLINE
2019-08-15 13:24:04 +01:00
Makefile.kcov
treewide: Add SPDX license identifier - Makefile/Kconfig
2019-05-21 10:50:46 +02:00
Makefile.lib
scripts: Makefile: Remove flags which are not support by EXT_DTC
2019-12-10 11:04:19 -08:00
Makefile.modbuiltin
kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}
2019-07-17 22:39:27 +09:00
Makefile.modfinal
ANDROID: kbuild: fix dynamic ftrace with clang LTO
2019-11-27 12:49:10 -08:00
Makefile.modinst
kbuild: modinst: read modules.order instead of $(MODVERDIR)/*.mod
2019-07-17 22:39:27 +09:00
Makefile.modpost
ANDROID: kbuild: add support for Clang LTO
2019-11-27 12:49:10 -08:00
Makefile.modsign
kbuild: modsign: read modules.order instead of $(MODVERDIR)/*.mod
2019-07-17 22:39:27 +09:00
Makefile.package
kbuild: pkg: rename scripts/package/Makefile to scripts/Makefile.package
2019-08-25 07:42:00 +09:00
Makefile.ubsan
ubsan: Remove vla bound checks.
2019-05-06 11:12:09 -07:00
makelst
markup_oops.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
mkcompile_h
Kbuild: Handle PREEMPT_RT for version string and magic
2019-08-14 01:10:42 +09:00
mkmakefile
kbuild: get rid of $(realpath ...) from scripts/mkmakefile
2019-08-29 23:54:29 +09:00
mksysmap
mkuboot.sh
module-common.lds
module-lto.lds
ANDROID: kbuild: merge module sections with LTO
2019-12-10 05:58:01 +00:00
modules-check.sh
kbuild: get rid of kernel/ prefix from in-tree modules.{order,builtin}
2019-07-17 22:39:27 +09:00
namespace.pl
namespace: fix namespace.pl script to support relative paths
2019-10-05 15:29:49 +09:00
nsdeps
scripts/nsdeps: make sure to pass all module source files to spatch
2019-11-05 14:08:29 +01:00
objdiff
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
parse-maintainers.pl
patch-kernel
pnmtologo.c
profile2linkerlist.pl
prune-kernel
recordmcount.c
ANDROID: kbuild: fix dynamic ftrace with clang LTO
2019-11-27 12:49:10 -08:00
recordmcount.h
recordmcount: Fix nop_mcount() function
2019-10-12 20:49:33 -04:00
recordmcount.pl
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
setlocalversion
scripts: setlocalversion: fix a bashism
2019-10-15 23:45:07 +09:00
show_delta
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
sign-file.c
sortextable.c
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
sortextable.h
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
spdxcheck-test.sh
scripts: add spdxcheck.py self test
2018-12-28 12:11:44 -08:00
spdxcheck.py
Merge remote-tracking branch 'remotes/origin/tmp-f686d9f' into msm-lahaina
2019-07-01 17:41:24 -07:00
spelling.txt
scripts/spelling.txt: add more spellings to spelling.txt
2019-07-12 11:05:41 -07:00
sphinx-pre-install
scripts/sphinx-pre-install: seek for Noto CJK fonts for pdf output
2019-07-17 06:57:52 -03:00
split-man.pl
stackdelta
stackusage
subarch.include
selftests: add headers_install to lib.mk
2018-09-05 08:12:09 -06:00
tags.sh
kbuild: add a flag to force absolute path for srctree
2019-07-11 00:05:09 +09:00
tools-support-relr.sh
scripts/tools-support-relr.sh: un-quote variables
2019-11-13 10:52:05 +00:00
unifdef.c
unifdef: use memcpy instead of strncpy
2018-11-30 14:45:01 -08:00
ver_linux
ver_linux: Assign constant RE to variable name for clarity
2019-01-22 13:34:35 +01:00
xen-hypercalls.sh
xz_wrap.sh