]> 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)
commit9241aec5692f68bc644cc6d396e337f27f833530
tree9f3d996db7f2e339df539fb2aa89a1c50e3eee40
parenta6af1fd48b51322dd7405095ab851f92d95a22ad
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: 92acefb867a9 ("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