linux/scripts/package
Masahiro Yamada 8c5d4b648b kbuild: rpm-pkg: refactor mkspec with here doc
The repeat of echo is unreadable.  The here-document is a well-known
device for such scripts.  One difficulty is we have a bunch of PREBUILT
conditionals that would split the here-document.

My idea is to add "$S" annotatation to lines only for the source package
spec file, then post-process it by sed.  I hope it will make our life
easier than repeat of "cat <<EOF ..."

I confirmed this commit still produced the same (bin)kernel.spec as
before.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-14 23:18:24 +09:00
..
builddeb kbuild: deb-pkg: remove firmware package support 2017-09-21 00:03:57 +09:00
buildtar kbuild: buildtar: do not print successful message if tar returns error 2017-09-13 00:20:33 +09:00
Makefile kbuild: rpm-pkg: fix version number handling 2017-09-21 00:06:03 +09:00
mkspec kbuild: rpm-pkg: refactor mkspec with here doc 2017-11-14 23:18:24 +09:00