]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: replace BASH-specific ${@:2} with shift and ${@}
authorAndrii Nakryiko <andriin@fb.com>
Thu, 5 Sep 2019 17:59:38 +0000 (10:59 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Sep 2019 16:51:55 +0000 (09:51 -0700)
commitee863ef80d406010d55b53923184e3401a819a8e
tree9f3d996db7f2e339df539fb2aa89a1c50e3eee40
parent6ac88cbbaa89635a19452c8ba21da507d5348dcd
kbuild: replace BASH-specific ${@:2} with shift and ${@}

${@:2} is BASH-specific extension, which makes link-vmlinux.sh rely on
BASH. Use shift and ${@} instead to fix this issue.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Fixes: 5190c09f08a1 ("btf: expose BTF info through sysfs")
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
scripts/link-vmlinux.sh