sparc: introduce arch/sparc/Kbuild
RFC PATCH 3/3 sparc: introduce arch/sparc/Kbuild
From 850652644b60709d7eae7d421fa6e18630f2bac8 Mon Sep 17 00:00:00 2001
From: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 21:27:15 +0200
Subject: [PATCH 3/3] sparc: introduce arch/sparc/Kbuild
This allows us to do:
make arch/sparc/
to build the core part of the sparc kernel.
---
This will conflict with the BFP work you have in netdev, but the resolution is trivial.
The assignment to core-y shall be moved
to Kbuild and the "arch/sparc/" part dropped.
RFC due to this known conflict.
Sam
arch/sparc/Kbuild | 8 ++++++++ arch/sparc/Makefile | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 arch/sparc/Kbuild
arch/sparc/Kbuild new file +8 -0
@@ -0,0 +1,8 @@ +# +# core part of the sparc kernel +# + +obj-y += kernel/ +obj-y += mm/ +obj-y += math-emu/ +
arch/sparc/Makefile +2 -2
@@ -52,8 +52,8 @@ endif head-y := arch/sparc/kernel/head_$(BITS).o head-y += arch/sparc/kernel/init_task.o -core-y += arch/sparc/kernel/ -core-y += arch/sparc/mm/ arch/sparc/math-emu/ +# See arch/sparc/Kbuild for the core part of the kernel +core-y += arch/sparc/ libs-y += arch/sparc/prom/ libs-y += arch/sparc/lib/
Signature · 1 line
1.6.0.6
David Miller
maintainerFrom: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 21:36:51 +0200
Quoted 12 lines
Quoted 1 line
From
850652644b60709d7eae7d421fa6e18630f2bac8Mon Sep 17 00:00:00 2001From: Sam Ravnborg <[email protected]>
Date: Tue, 15 May 2012 21:27:15 +0200
Subject: [PATCH 3/3] sparc: introducearch/sparc/KbuildThis allows us to do:
make
arch/sparc/to build the core part of the sparc kernel.
Signed-off-by Sam Ravnborg <[email protected]>
Quoted 8 lines
---
This will conflict with the BFP work you have in netdev, but the resolution is trivial.
The assignment to core-y shall be moved
toKbuildand the "arch/sparc/" part dropped.RFC due to this known conflict.
I'll most likely apply this, especially since, as you say, the conflict is trivial to resolve.