[L/unstable 00/13] A batch of cleanups for kernel packaging

Masahiro Yamada masahiro.yamada at canonical.com
Mon Dec 5 08:56:06 UTC 2022


I am stil studying how ubuntu kernels are packaged.
I do not have enough time to walk all through our Makefiles,
but here are some of my outputs while I was reading the code.

It is better to publish these to get some feedbacks.

Only build-tested on lunar:linux-unstable.
(I do not know if this kind of stuff would be ported
to stable kernels.)



Masahiro Yamada (13):
  UBUNTU: [Packaging] mark phony targets
  UBUNTU: [Packaging] Make the compiler for fix-filenames explicit
  UBUNTU: [Packaging] add -rR MAKEFLAGS to clear implicit rules
  UBUNTU: [Packaging] use dpkg-parsechangelog to get package name and
    series
  UBUNTU: [Packaging] simplify revision/release
  UBUNTU: [Packaging] simplify custom_override
  UBUNTU: [Packaging] Remove meaningless code in install-arch-headers
  UBUNTU: [Packaging] use olddefconfig in stamp-prepare-tree
  UBUNTU: [Packaging] use parralel builds in more places
  UBUNTU: [Packaging] install headers to debian/linux-libc-dev directly
  UBUNTU: [Packaging] simplify abinum and uploadnum definitions
  UBUNTU: [Packaging] Remove unused INSTALL_FW_PATH
  UBUNTU: [Packaging] Merge install commands

 debian/rules                     |  8 +++++
 debian/rules.d/0-common-vars.mk  | 32 ++++++++---------
 debian/rules.d/1-maintainer.mk   | 10 ++++--
 debian/rules.d/2-binary-arch.mk  | 59 ++++++++++++--------------------
 debian/rules.d/3-binary-indep.mk |  5 +++
 5 files changed, 57 insertions(+), 57 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list