Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
f6e1db1b
Commit
f6e1db1b
authored
Aug 05, 2010
by
Ralf Baechle
Browse files
MIPS: Octeon: Migrate to new platform makefile style.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
f5e8abd6
Changes
4
Hide whitespace changes
Inline
Side-by-side
arch/mips/Kbuild.platforms
View file @
f6e1db1b
...
@@ -4,6 +4,7 @@ platforms += alchemy
...
@@ -4,6 +4,7 @@ platforms += alchemy
platforms += ar7
platforms += ar7
platforms += bcm47xx
platforms += bcm47xx
platforms += bcm63xx
platforms += bcm63xx
platforms += cavium-octeon
platforms += cobalt
platforms += cobalt
platforms += dec
platforms += dec
platforms += jazz
platforms += jazz
...
...
arch/mips/Makefile
View file @
f6e1db1b
...
@@ -301,18 +301,6 @@ core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
...
@@ -301,18 +301,6 @@ core-$(CONFIG_TOSHIBA_RBTX4927) += arch/mips/txx9/rbtx4927/
core-$(CONFIG_TOSHIBA_RBTX4938)
+=
arch
/mips/txx9/rbtx4938/
core-$(CONFIG_TOSHIBA_RBTX4938)
+=
arch
/mips/txx9/rbtx4938/
core-$(CONFIG_TOSHIBA_RBTX4939)
+=
arch
/mips/txx9/rbtx4939/
core-$(CONFIG_TOSHIBA_RBTX4939)
+=
arch
/mips/txx9/rbtx4939/
#
# Cavium Octeon
#
core-$(CONFIG_CPU_CAVIUM_OCTEON)
+=
arch
/mips/cavium-octeon/
cflags-$(CONFIG_CPU_CAVIUM_OCTEON)
+=
-I
$(srctree)
/arch/mips/include/asm/mach-cavium-octeon
core-$(CONFIG_CPU_CAVIUM_OCTEON)
+=
arch
/mips/cavium-octeon/executive/
ifdef
CONFIG_CAVIUM_OCTEON_2ND_KERNEL
load-$(CONFIG_CPU_CAVIUM_OCTEON)
+=
0xffffffff84100000
else
load-$(CONFIG_CPU_CAVIUM_OCTEON)
+=
0xffffffff81100000
endif
cflags-y
+=
-I
$(srctree)
/arch/mips/include/asm/mach-generic
cflags-y
+=
-I
$(srctree)
/arch/mips/include/asm/mach-generic
drivers-$(CONFIG_PCI)
+=
arch
/mips/pci/
drivers-$(CONFIG_PCI)
+=
arch
/mips/pci/
...
...
arch/mips/cavium-octeon/Makefile
View file @
f6e1db1b
...
@@ -12,7 +12,6 @@
...
@@ -12,7 +12,6 @@
obj-y
:=
cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
obj-y
:=
cpu.o setup.o serial.o octeon-platform.o octeon-irq.o csrc-octeon.o
obj-y
+=
dma-octeon.o flash_setup.o
obj-y
+=
dma-octeon.o flash_setup.o
obj-y
+=
octeon-memcpy.o
obj-y
+=
octeon-memcpy.o
obj-y
+=
executive/
obj-$(CONFIG_SMP)
+=
smp.o
obj-$(CONFIG_SMP)
+=
smp.o
EXTRA_CFLAGS
+=
-Werror
arch/mips/cavium-octeon/Platform
0 → 100644
View file @
f6e1db1b
#
# Cavium Octeon
#
platform-$(CONFIG_CPU_CAVIUM_OCTEON) += cavium-octeon/
cflags-$(CONFIG_CPU_CAVIUM_OCTEON) += \
-I$(srctree)/arch/mips/include/asm/mach-cavium-octeon
ifdef CONFIG_CAVIUM_OCTEON_2ND_KERNEL
load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff84100000
else
load-$(CONFIG_CPU_CAVIUM_OCTEON) += 0xffffffff81100000
endif
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment