linux-stable/scripts/package
Masahiro Yamada 9892bd72ef kbuild: deb-pkg: specify targets in debian/rules as .PHONY
If a file with the same name exists, the target is not run.

For example, the following command fails.

  $ make O=build-arch bindeb-pkg
    [ snip ]
  sed: can't read modules.order: No such file or directory
  make[6]: *** [../Makefile:1577: __modinst_pre] Error 2
  make[5]: *** [../scripts/Makefile.package:150: intdeb-pkg] Error 2
  make[4]: *** [../Makefile:1657: intdeb-pkg] Error 2
  make[3]: *** [debian/rules:14: binary-arch] Error 2
  dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
  make[2]: *** [../scripts/Makefile.package:139: bindeb-pkg] Error 2

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
2023-04-26 21:10:51 +09:00
..
builddeb kbuild: builddeb: Eliminate debian/arch use 2023-04-17 11:03:56 +09:00
buildtar kbuild: tar-pkg: use tar rules in scripts/Makefile.package 2023-02-26 15:23:30 +09:00
deb-build-option kbuild: deb-pkg: set CROSS_COMPILE only when undefined 2023-03-15 15:15:07 +09:00
gen-diff-patch kbuild: give up untracked files for source package builds 2023-04-11 08:58:45 +09:00
mkdebian kbuild: deb-pkg: specify targets in debian/rules as .PHONY 2023-04-26 21:10:51 +09:00
mkspec kbuild: rpm-pkg: remove kernel-drm PROVIDES 2023-04-25 10:08:55 +09:00
snapcraft.template scripts/package: snap-pkg target 2017-12-13 00:00:18 +09:00