[PATCH 0/8] kbuild: use script for final link, move definitions out of top-level Makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Michal, all.

o Move the link of vmlinux from top-level Makefile to a script.
  This increased the readability a lot.
  They have had a few rounds of reviews and are ready.

o Move a lot of definitions from top-level Makefile to
  two new files located in scripts/

o Fix so we do not call CC too often when using W=...

o Fix so KCFLAGS (and friends) are added last to the
  command lines.

Patches 1-4 are ready to be applied.
Patches 5-8 are new and may raise a few comments.

All patches are on top of 3.4-rc5.

	Sam

 Documentation/kbuild/kbuild.txt |   19 ++
 Makefile                        |  389 ++------------------------------------
 arch/sparc/Makefile             |   11 -
 arch/sparc/boot/Makefile        |   14 +-
 arch/um/Makefile                |   11 +-
 scripts/Kbuild.arch             |  148 +++++++++++++++
 scripts/Kbuild.config           |   68 +++++++
 scripts/Makefile.build          |   51 -----
 scripts/link-vmlinux.sh         |  211 +++++++++++++++++++++
 9 files changed, 478 insertions(+), 444 deletions(-)

Artem Bityutskiy (1):
      kbuild: remove useless warning

Sam Ravnborg (7):
      kbuild: drop unused KBUILD_VMLINUX_OBJS from top-level Makefile
      kbuild: refactor final link of sparc32
      kbuild: link of vmlinux moved to a script
      kbuild: document KBUILD_LDS, KBUILD_VMLINUX_{INIT,MAIN} and LDFLAGS_vmlinux
      kbuild: move definitions from top-level Makefile to scripts/Kbuild.config
      kbuild: move arch definitions from top-level Makefile to scripts/Kbuild.arch
      kbuild: move W=... stuff to Kbuild.arch

--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux