Skip to content

x86 makefile unification and cleaning

Sam Ravnborg lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: unification of arch/x86/Makefilesarch/x86/Makefile arch/x86/Makefile_32 arch/x86/Makefile_64+239 -3260 replies
2/5x86: share more options between 32 and 64 bit buildarch/x86/Makefile+8 -40 replies
3/5x86: biarch support for 32 bit builds beautifiedarch/x86/Makefile arch/x86/boot/Makefile+5 -100 replies
4/5x86: teach vdso to cleanarch/x86/vdso/Makefile+3 -00 replies
5/5x86: teach vdso to cleanarch/x86/vdso/Makefile+0 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] x86 makefile unification and cleaning

Since first posting I have updated the patch like this:
o Fixed a few bugs shown up by more extensive testing
o Avoided one ifdef group
o Added a few more comments
o Removed and/or updated a few comments

On top of that I did a few more patches:

Sam Ravnborg (5):
x86: unification of arch/x86/Makefiles
x86: share more options between 32 and 64 bit build
x86: biarch support for 32 bit builds beautified
x86: teach vdso to clean
x86: teach vdso to clean

The resulting diffstat:

 arch/x86/Makefile      |  244 +++++++++++++++++++++++++++++++++++++++++++++++-
 arch/x86/Makefile_32   |  181 -----------------------------------
 arch/x86/Makefile_64   |  141 ----------------------------
 arch/x86/boot/Makefile |    4 +-
 arch/x86/vdso/Makefile |    2 +
 5 files changed, 243 insertions(+), 329 deletions(-)

I'm pretty satisfied with the result.
But I hope someone can look into the cpu specific stuff and merge the remaining bits from 64 bit to the currently 32 bit only Makefile_32.cpu file.

This will benefit readability and UML I think.

The patches are made on top of the mm branch of the x86 tree.

Patches follows.

Sam