lkml.org 
[lkml]   [2012]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 0/8] kbuild: use script for final link, move definitions out of top-level Makefile
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



\
 
 \ /
  Last update: 2012-05-05 10:21    [W:0.151 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site