kbuild: buildtar: fix tar error when CONFIG_MODULES is disabled
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Sat, 2 Sep 2017 08:05:34 +0000 (17:05 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 12 Sep 2017 15:20:31 +0000 (00:20 +0900)
commitdd965f1f0857e72eb6d4cfb28769ba01465ba01b
treee80c0568ae92f76d75a6dc7e823b69dd4f5e6921
parentcfd63736726a7fabb3dd89ea91cff143ac4dc8a7
kbuild: buildtar: fix tar error when CONFIG_MODULES is disabled

$tmpdir/lib is created by "make modules_install".  It does not exist
if CONFIG_MODULES is disabled, then tar reports the following messages:

tar: lib: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/package/buildtar