diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2012-05-15 15:27:15 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-15 16:18:08 -0400 |
commit | e1d7de8377e6ab3dbd2359507b217ea6b0944302 (patch) | |
tree | fd25228abf452b9d3cbcb8aeb2d60e2f084a3960 | |
parent | 3462285df99e14a7866d7e35cd3c948a324af014 (diff) |
sparc: introduce arch/sparc/Kbuild
This allows us to do:
make arch/sparc/
to build the core part of the sparc kernel.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | arch/sparc/Kbuild | 7 | ||||
-rw-r--r-- | arch/sparc/Makefile | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/arch/sparc/Kbuild b/arch/sparc/Kbuild new file mode 100644 index 000000000000..27b540d2d55e --- /dev/null +++ b/arch/sparc/Kbuild | |||
@@ -0,0 +1,7 @@ | |||
1 | # | ||
2 | # core part of the sparc kernel | ||
3 | # | ||
4 | |||
5 | obj-y += kernel/ | ||
6 | obj-y += mm/ | ||
7 | obj-y += math-emu/ | ||
diff --git a/arch/sparc/Makefile b/arch/sparc/Makefile index a4928150c631..b9a72e2b8acc 100644 --- a/arch/sparc/Makefile +++ b/arch/sparc/Makefile | |||
@@ -52,8 +52,8 @@ endif | |||
52 | head-y := arch/sparc/kernel/head_$(BITS).o | 52 | head-y := arch/sparc/kernel/head_$(BITS).o |
53 | head-y += arch/sparc/kernel/init_task.o | 53 | head-y += arch/sparc/kernel/init_task.o |
54 | 54 | ||
55 | core-y += arch/sparc/kernel/ | 55 | # See arch/sparc/Kbuild for the core part of the kernel |
56 | core-y += arch/sparc/mm/ arch/sparc/math-emu/ | 56 | core-y += arch/sparc/ |
57 | 57 | ||
58 | libs-y += arch/sparc/prom/ | 58 | libs-y += arch/sparc/prom/ |
59 | libs-y += arch/sparc/lib/ | 59 | libs-y += arch/sparc/lib/ |