diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:55 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-08-05 08:25:55 -0400 |
commit | 34f5c1c5787bd13a3fbfc284ff7f719846427b9d (patch) | |
tree | 094b0b56de8af5bffbfb1752662745b34882b472 /arch | |
parent | f6e1db1b87a9199275694d10713d4baa80030fc7 (diff) |
MIPS: Sibyte: Migrate to new platform makefile style.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/Kbuild.platforms | 1 | ||||
-rw-r--r-- | arch/mips/Makefile | 50 | ||||
-rw-r--r-- | arch/mips/sibyte/Makefile | 27 | ||||
-rw-r--r-- | arch/mips/sibyte/Platform | 43 | ||||
-rw-r--r-- | arch/mips/sibyte/bcm1480/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/sibyte/common/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/sibyte/sb1250/Makefile | 2 |
7 files changed, 71 insertions, 56 deletions
diff --git a/arch/mips/Kbuild.platforms b/arch/mips/Kbuild.platforms index 5a45333ecf92..e0fb3700ffd8 100644 --- a/arch/mips/Kbuild.platforms +++ b/arch/mips/Kbuild.platforms | |||
@@ -18,6 +18,7 @@ platforms += rb532 | |||
18 | platforms += sgi-ip22 | 18 | platforms += sgi-ip22 |
19 | platforms += sgi-ip27 | 19 | platforms += sgi-ip27 |
20 | platforms += sgi-ip32 | 20 | platforms += sgi-ip32 |
21 | platforms += sibyte | ||
21 | platforms += sni | 22 | platforms += sni |
22 | platforms += vr41xx | 23 | platforms += vr41xx |
23 | platforms += wrppmc | 24 | platforms += wrppmc |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index b62d8323a0b7..4cf72586162b 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -230,56 +230,6 @@ core-$(CONFIG_NEC_MARKEINS) += arch/mips/emma/markeins/ | |||
230 | load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000 | 230 | load-$(CONFIG_NEC_MARKEINS) += 0xffffffff88100000 |
231 | 231 | ||
232 | # | 232 | # |
233 | # Sibyte SB1250/BCM1480 SOC | ||
234 | # | ||
235 | # This is a LIB so that it links at the end, and initcalls are later | ||
236 | # the sequence; but it is built as an object so that modules don't get | ||
237 | # removed (as happens, even if they have __initcall/module_init) | ||
238 | # | ||
239 | core-$(CONFIG_SIBYTE_BCM112X) += arch/mips/sibyte/sb1250/ | ||
240 | core-$(CONFIG_SIBYTE_BCM112X) += arch/mips/sibyte/common/ | ||
241 | cflags-$(CONFIG_SIBYTE_BCM112X) += -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
242 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL | ||
243 | |||
244 | core-$(CONFIG_SIBYTE_SB1250) += arch/mips/sibyte/sb1250/ | ||
245 | core-$(CONFIG_SIBYTE_SB1250) += arch/mips/sibyte/common/ | ||
246 | cflags-$(CONFIG_SIBYTE_SB1250) += -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
247 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL | ||
248 | |||
249 | core-$(CONFIG_SIBYTE_BCM1x55) += arch/mips/sibyte/bcm1480/ | ||
250 | core-$(CONFIG_SIBYTE_BCM1x55) += arch/mips/sibyte/common/ | ||
251 | cflags-$(CONFIG_SIBYTE_BCM1x55) += -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
252 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL | ||
253 | |||
254 | core-$(CONFIG_SIBYTE_BCM1x80) += arch/mips/sibyte/bcm1480/ | ||
255 | core-$(CONFIG_SIBYTE_BCM1x80) += arch/mips/sibyte/common/ | ||
256 | cflags-$(CONFIG_SIBYTE_BCM1x80) += -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
257 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL | ||
258 | |||
259 | # | ||
260 | # Sibyte BCM91120x (Carmel) board | ||
261 | # Sibyte BCM91120C (CRhine) board | ||
262 | # Sibyte BCM91125C (CRhone) board | ||
263 | # Sibyte BCM91125E (Rhone) board | ||
264 | # Sibyte SWARM board | ||
265 | # Sibyte BCM91x80 (BigSur) board | ||
266 | # | ||
267 | core-$(CONFIG_SIBYTE_CARMEL) += arch/mips/sibyte/swarm/ | ||
268 | load-$(CONFIG_SIBYTE_CARMEL) := 0xffffffff80100000 | ||
269 | core-$(CONFIG_SIBYTE_CRHINE) += arch/mips/sibyte/swarm/ | ||
270 | load-$(CONFIG_SIBYTE_CRHINE) := 0xffffffff80100000 | ||
271 | core-$(CONFIG_SIBYTE_CRHONE) += arch/mips/sibyte/swarm/ | ||
272 | load-$(CONFIG_SIBYTE_CRHONE) := 0xffffffff80100000 | ||
273 | core-$(CONFIG_SIBYTE_RHONE) += arch/mips/sibyte/swarm/ | ||
274 | load-$(CONFIG_SIBYTE_RHONE) := 0xffffffff80100000 | ||
275 | core-$(CONFIG_SIBYTE_SENTOSA) += arch/mips/sibyte/swarm/ | ||
276 | load-$(CONFIG_SIBYTE_SENTOSA) := 0xffffffff80100000 | ||
277 | core-$(CONFIG_SIBYTE_SWARM) += arch/mips/sibyte/swarm/ | ||
278 | load-$(CONFIG_SIBYTE_SWARM) := 0xffffffff80100000 | ||
279 | core-$(CONFIG_SIBYTE_BIGSUR) += arch/mips/sibyte/swarm/ | ||
280 | load-$(CONFIG_SIBYTE_BIGSUR) := 0xffffffff80100000 | ||
281 | |||
282 | # | ||
283 | # Common TXx9 | 233 | # Common TXx9 |
284 | # | 234 | # |
285 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ | 235 | core-$(CONFIG_MACH_TX39XX) += arch/mips/txx9/generic/ |
diff --git a/arch/mips/sibyte/Makefile b/arch/mips/sibyte/Makefile new file mode 100644 index 000000000000..c8ed2c807e69 --- /dev/null +++ b/arch/mips/sibyte/Makefile | |||
@@ -0,0 +1,27 @@ | |||
1 | # | ||
2 | # Sibyte SB1250 / BCM1480 family of SOCs | ||
3 | # | ||
4 | obj-$(CONFIG_SIBYTE_BCM112X) += sb1250/ | ||
5 | obj-$(CONFIG_SIBYTE_BCM112X) += common/ | ||
6 | obj-$(CONFIG_SIBYTE_SB1250) += sb1250/ | ||
7 | obj-$(CONFIG_SIBYTE_SB1250) += common/ | ||
8 | obj-$(CONFIG_SIBYTE_BCM1x55) += bcm1480/ | ||
9 | obj-$(CONFIG_SIBYTE_BCM1x55) += common/ | ||
10 | obj-$(CONFIG_SIBYTE_BCM1x80) += bcm1480/ | ||
11 | obj-$(CONFIG_SIBYTE_BCM1x80) += common/ | ||
12 | |||
13 | # | ||
14 | # Sibyte BCM91120x (Carmel) board | ||
15 | # Sibyte BCM91120C (CRhine) board | ||
16 | # Sibyte BCM91125C (CRhone) board | ||
17 | # Sibyte BCM91125E (Rhone) board | ||
18 | # Sibyte SWARM board | ||
19 | # Sibyte BCM91x80 (BigSur) board | ||
20 | # | ||
21 | obj-$(CONFIG_SIBYTE_CARMEL) += swarm/ | ||
22 | obj-$(CONFIG_SIBYTE_CRHINE) += swarm/ | ||
23 | obj-$(CONFIG_SIBYTE_CRHONE) += swarm/ | ||
24 | obj-$(CONFIG_SIBYTE_RHONE) += swarm/ | ||
25 | obj-$(CONFIG_SIBYTE_SENTOSA) += swarm/ | ||
26 | obj-$(CONFIG_SIBYTE_SWARM) += swarm/ | ||
27 | obj-$(CONFIG_SIBYTE_BIGSUR) += swarm/ | ||
diff --git a/arch/mips/sibyte/Platform b/arch/mips/sibyte/Platform new file mode 100644 index 000000000000..911dfe39c631 --- /dev/null +++ b/arch/mips/sibyte/Platform | |||
@@ -0,0 +1,43 @@ | |||
1 | # | ||
2 | # These are all rather similar so we consider them a single platform | ||
3 | # | ||
4 | platform-$(CONFIG_SIBYTE_BCM112X) += sibyte/ | ||
5 | platform-$(CONFIG_SIBYTE_SB1250) += sibyte/ | ||
6 | platform-$(CONFIG_SIBYTE_BCM1x55) += sibyte/ | ||
7 | platform-$(CONFIG_SIBYTE_BCM1x80) += sibyte/ | ||
8 | |||
9 | # | ||
10 | # Sibyte SB1250 / BCM1480 family of SOCs | ||
11 | # | ||
12 | cflags-$(CONFIG_SIBYTE_BCM112X) += \ | ||
13 | -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
14 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL | ||
15 | |||
16 | platform-$(CONFIG_SIBYTE_SB1250) += sibyte/ | ||
17 | cflags-$(CONFIG_SIBYTE_SB1250) += \ | ||
18 | -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
19 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1250_112x_ALL | ||
20 | |||
21 | cflags-$(CONFIG_SIBYTE_BCM1x55) += \ | ||
22 | -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
23 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL | ||
24 | |||
25 | cflags-$(CONFIG_SIBYTE_BCM1x80) += \ | ||
26 | -I$(srctree)/arch/mips/include/asm/mach-sibyte \ | ||
27 | -DSIBYTE_HDR_FEATURES=SIBYTE_HDR_FMASK_1480_ALL | ||
28 | |||
29 | # | ||
30 | # Sibyte BCM91120x (Carmel) board | ||
31 | # Sibyte BCM91120C (CRhine) board | ||
32 | # Sibyte BCM91125C (CRhone) board | ||
33 | # Sibyte BCM91125E (Rhone) board | ||
34 | # Sibyte SWARM board | ||
35 | # Sibyte BCM91x80 (BigSur) board | ||
36 | # | ||
37 | load-$(CONFIG_SIBYTE_CARMEL) := 0xffffffff80100000 | ||
38 | load-$(CONFIG_SIBYTE_CRHINE) := 0xffffffff80100000 | ||
39 | load-$(CONFIG_SIBYTE_CRHONE) := 0xffffffff80100000 | ||
40 | load-$(CONFIG_SIBYTE_RHONE) := 0xffffffff80100000 | ||
41 | load-$(CONFIG_SIBYTE_SENTOSA) := 0xffffffff80100000 | ||
42 | load-$(CONFIG_SIBYTE_SWARM) := 0xffffffff80100000 | ||
43 | load-$(CONFIG_SIBYTE_BIGSUR) := 0xffffffff80100000 | ||
diff --git a/arch/mips/sibyte/bcm1480/Makefile b/arch/mips/sibyte/bcm1480/Makefile index f292f7df0cfb..cdc4c56c3e29 100644 --- a/arch/mips/sibyte/bcm1480/Makefile +++ b/arch/mips/sibyte/bcm1480/Makefile | |||
@@ -1,5 +1,3 @@ | |||
1 | obj-y := setup.o irq.o time.o | 1 | obj-y := setup.o irq.o time.o |
2 | 2 | ||
3 | obj-$(CONFIG_SMP) += smp.o | 3 | obj-$(CONFIG_SMP) += smp.o |
4 | |||
5 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/sibyte/common/Makefile b/arch/mips/sibyte/common/Makefile index 4f659837c7c6..36aa700cc40c 100644 --- a/arch/mips/sibyte/common/Makefile +++ b/arch/mips/sibyte/common/Makefile | |||
@@ -1,5 +1,3 @@ | |||
1 | obj-y := cfe.o | 1 | obj-y := cfe.o |
2 | obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o | 2 | obj-$(CONFIG_SIBYTE_CFE_CONSOLE) += cfe_console.o |
3 | obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o | 3 | obj-$(CONFIG_SIBYTE_TBPROF) += sb_tbprof.o |
4 | |||
5 | EXTRA_CFLAGS += -Werror | ||
diff --git a/arch/mips/sibyte/sb1250/Makefile b/arch/mips/sibyte/sb1250/Makefile index 1896f4e77a30..d3d969de407b 100644 --- a/arch/mips/sibyte/sb1250/Makefile +++ b/arch/mips/sibyte/sb1250/Makefile | |||
@@ -2,5 +2,3 @@ obj-y := setup.o irq.o time.o | |||
2 | 2 | ||
3 | obj-$(CONFIG_SMP) += smp.o | 3 | obj-$(CONFIG_SMP) += smp.o |
4 | obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o | 4 | obj-$(CONFIG_SIBYTE_BUS_WATCHER) += bus_watcher.o |
5 | |||
6 | EXTRA_CFLAGS += -Werror | ||