linux/scripts
Jubin Zhong 83c382f436 FROMLIST: kbuild: Enable armthumb BCJ filter for Thumb-2 kernel
xz_wrap.sh use $SRCARCH to detect the BCJ filter. However, assigning
arm BCJ filter to Thumb-2 kernel is not optimal. In my case, about 5%
decrease of image size is observed with armthumb BCJ filter:

Test results:
  hardware:      QEMU emulator version 3.1.0
  config:        vexpress_defconfig with THUMB2_KERNEL & KERNEL_XZ on
  arm BCJ:       4029808
  armthumb BCJ:  3827280

Choose armthumb BCJ filter for Thumb-2 kernel to make smaller images.

Signed-off-by: Jubin Zhong <zhongjubin@huawei.com>

Link: https://lore.kernel.org/lkml/1637323647-19988-1-git-send-email-zhongjubin@huawei.com/
Change-Id: I23c6e0fd2e54fdc84e78f122d6f4f06e54026696
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2022-02-22 15:04:18 +08:00
..
atomic
basic
clang-tools scripts/clang-tools: switch explicitly to Python 3 2021-06-03 09:00:52 +02:00
coccinelle UPSTREAM: Coccinelle: Remove setup_timer.cocci 2021-08-06 21:46:04 +08:00
dtc scripts: dtc: delete empty node after omit_unused_nodes 2021-06-30 18:56:26 +08:00
dummy-tools kbuild: dummy-tools: fix inverted tests for gcc 2021-03-30 14:31:50 +02:00
gcc-plugins rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gdb rk: revert to v4.19 2021-03-17 18:05:39 +08:00
genksyms rk: revert to v4.19 2021-03-17 18:05:39 +08:00
kconfig Merge 5.10.38 into android12-5.10 2021-05-20 15:35:25 +02:00
ksymoops
mod Merge 5.10.38 into android12-5.10 2021-05-20 15:35:25 +02:00
package rk: revert to v4.19 2021-03-17 18:05:39 +08:00
selinux rk: revert to v4.19 2021-03-17 18:05:39 +08:00
tracing scripts/tracing: fix the bug that can't parse raw_trace_func 2021-08-12 13:22:12 +02:00
.gitignore rk: kbuild: support build resource_tool 2021-03-25 18:18:27 +08:00
adjust_autoksyms.sh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
asn1_compiler.c
bin2c.c
bloat-o-meter scripts: switch explicitly to Python 3 2021-05-22 11:40:55 +02:00
bmpconvert
bootgraph.pl
bpf_helpers_doc.py
cc-can-link.sh
check_extable.sh
check-sysctl-docs
checkincludes.pl
checkkconfigsymbols.py
checkpatch.pl rk: revert to v4.19 2021-03-17 18:05:39 +08:00
checkstack.pl rk: revert to v4.19 2021-03-17 18:05:39 +08:00
checksyscalls.sh
checkversion.pl
clang-version.sh
clang-wrapper.py rk: clang-wrapper.py ignore atags_to_fdt.c:129 2021-07-27 19:04:30 +08:00
cleanfile
cleanpatch
coccicheck
config tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
const_structs.checkpatch
decode_stacktrace.sh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
decodecode rk: revert to v4.19 2021-03-17 18:05:39 +08:00
depmod.sh ANDROID: Kbuild: Add support for KBUILD_MIXED_TREE 2021-04-15 10:28:24 +01:00
dev-needs.sh
diffconfig scripts: switch explicitly to Python 3 2021-05-22 11:40:55 +02:00
documentation-file-ref-check
export_report.pl
extract_xc3028.pl
extract-cert.c
extract-ikconfig
extract-module-sig.pl
extract-sys-certs.pl
extract-vmlinux
faddr2line
file-size.sh
find-unused-docs.sh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gcc-goto.sh rk: revert to v4.19 2021-03-17 18:05:39 +08:00
gcc-ld
gcc-plugin.sh
gcc-version.sh
gcc-wrapper.py scripts/gcc-wrapper.py: Fix for v5.10 2021-03-18 20:58:51 +08:00
gcc-x86_32-has-stack-protector.sh
gcc-x86_64-has-stack-protector.sh
gen_autoksyms.sh BACKPORT: kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO 2021-06-10 20:26:11 -07:00
gen_ksymdeps.sh
generate_cfi_kallsyms.pl ANDROID: Add missing CFI jump table symbols to kallsyms 2021-05-11 17:56:41 +00:00
generate_initcall_order.pl rk: revert to v4.19 2021-03-17 18:05:39 +08:00
get_abi.pl tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
get_dvb_firmware
get_maintainer.pl
gfp-translate
headerdep.pl
headers_check.pl
headers_install.sh
insert-sys-cert.c
jobserver-exec
kallsyms.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Kbuild.include kbuild: sink stdout from cmd for silent build 2021-07-25 14:36:12 +02:00
Kconfig.include rk: revert to v4.19 2021-03-17 18:05:39 +08:00
kernel-doc scripts: kernel-doc: fix parsing function-like typedefs 2020-12-30 11:53:33 +01:00
ld-version.sh
leaking_addresses.pl
Lindent
link-vmlinux.sh ANDROID: Add missing CFI jump table symbols to kallsyms 2021-05-11 17:56:41 +00:00
lld-version.sh
Makefile Merge tag 'ASB-2021-12-05_12-5.10' of https://android.googlesource.com/kernel/common 2021-12-14 17:09:02 +08:00
Makefile.asm-generic
Makefile.build This is the 5.10.50 stable release 2021-07-14 17:35:23 +02:00
Makefile.clean
Makefile.dtbinst
Makefile.extrawarn rk: revert to v4.19 2021-03-17 18:05:39 +08:00
Makefile.gcc-plugins
Makefile.headersinst
Makefile.host
Makefile.kasan Merge 5.10.33 into android12-5.10 2021-04-29 13:57:47 +02:00
Makefile.kcov
Makefile.kcsan
Makefile.lib rk: kbuild: Use standard lz4 format for Image.lz4 on ARM64 2022-01-13 10:08:58 +08:00
Makefile.modfinal ANDROID: Add missing CFI jump table symbols to kallsyms 2021-05-11 17:56:41 +00:00
Makefile.modinst
Makefile.modpost ANDROID: modpost: Check for KBUILD_MIXED_TREE for Modules.symvers 2021-05-20 23:47:36 +00:00
Makefile.modsign
Makefile.package
Makefile.ubsan UPSTREAM: ubsan: remove overflow checks 2021-10-21 08:33:13 -07:00
Makefile.userprogs
makelst
markup_oops.pl
mkbootimg
mkcompile_h kbuild: mkcompile_h: consider timestamp if KBUILD_BUILD_TIMESTAMP is set 2021-07-25 14:36:16 +02:00
mkimg rk: scripts/mkimg: Fix search mkimage 2022-01-11 11:19:45 +08:00
mkkrnlimg.c
mkmakefile
mkmultidtb.py
mksysmap rk: revert to v4.19 2021-03-17 18:05:39 +08:00
mkuboot.sh
module.lds.S ANDROID: fips140: add userspace interface for evaluation testing 2021-11-23 18:02:43 +00:00
modules-check.sh
nsdeps
objdiff
parse-maintainers.pl rk: revert to v4.19 2021-03-17 18:05:39 +08:00
patch-kernel
profile2linkerlist.pl
prune-kernel
recordmcount.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
recordmcount.h recordmcount: Correct st_shndx handling 2021-06-30 08:47:23 -04:00
recordmcount.pl riscv: Workaround mcount name prior to clang-13 2021-05-22 11:40:53 +02:00
repack-bootimg
resource_tool.c
setlocalversion ANDROID: setlocalversion: make KMI_GENERATION optional 2021-11-17 22:43:25 +00:00
show_delta tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
sign-file.c
sorttable.c
sorttable.h
spdxcheck-test.sh
spdxcheck.py rk: revert to v4.19 2021-03-17 18:05:39 +08:00
spelling.txt
sphinx-pre-install tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
split-man.pl tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
stackdelta
stackusage
subarch.include
tags.sh
tools-support-relr.sh Makefile: fix GDB warning with CONFIG_RELR 2021-07-14 16:55:53 +02:00
unifdef.c rk: revert to v4.19 2021-03-17 18:05:39 +08:00
unpack_bootimg
ver_linux
xen-hypercalls.sh
xz_wrap.sh FROMLIST: kbuild: Enable armthumb BCJ filter for Thumb-2 kernel 2022-02-22 15:04:18 +08:00