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)
commit618916a4bf169450e4680173a4b105a1816a7d6d
tree9f3d996db7f2e339df539fb2aa89a1c50e3eee40
parent1e46c09ec10049a9e366153b32e41cc557383fdb
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: 341dfcf8d78e ("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