kbuild: deb-pkg: make debian source package working again
authorMasahiro Yamada <masahiroy@kernel.org>
Sun, 12 Mar 2023 20:07:26 +0000 (05:07 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Wed, 15 Mar 2023 06:15:07 +0000 (15:15 +0900)
commit2fd6c4553c962ec7ea8a60c0a3632c7e984800f0
treefaa3a1a58e4a3cad2128d28e1c91b431ad7197d6
parentc753ccb2629f536b8c4feae5c223d5873c814d23
kbuild: deb-pkg: make debian source package working again

Since commit c5bf2efb058d ("kbuild: deb-pkg: fix binary-arch and clean
in debian/rules"), the source package generated by 'make deb-pkg' fails
to build.

I terribly missed the fact that the intdeb-pkg target may regenerate
include/config/kernel.release due to the following in the top Makefile:

  %pkg: include/config/kernel.release FORCE

Restore KERNELRELEASE= option to avoid the kernel.release disagreement
between build-arch and binary-arch.

Fixes: c5bf2efb058d ("kbuild: deb-pkg: fix binary-arch and clean in debian/rules")
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/package/mkdebian