]> git.itanic.dy.fi Git - linux-stable/commit
kbuild: deb-pkg: allow to run debian/rules from output directory
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 26 Dec 2023 13:52:41 +0000 (22:52 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 5 Jan 2024 10:35:38 +0000 (19:35 +0900)
commiteaf80f7f2c9c5f08d76858ec32addfcfe64ce58e
tree40b3e25a160756df87bfcfc05725e49e7be350bf
parent159956f34ede363e67a87bea840937e242293e91
kbuild: deb-pkg: allow to run debian/rules from output directory

'make O=... deb-pkg' creates the debian directory in the output
directory. However, currently it is impossible to run debian/rules
created in the separate output directory.

This commit delays the $(srctree) expansion by escaping '$' and by
quoting the entire command, making it possible to run debian/rules in
the output directory.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
scripts/package/debian/rules