diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2009-11-23 20:40:01 +0100 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-02-27 12:53:02 +0100 |
commit | 5d400f5c59df3ed2c3682a7409c8e81a7c4e650c (patch) | |
tree | c501fe5a419532d10cc39dae3f1ce044716e25b4 /arch/mips/alchemy/common/Makefile | |
parent | MIPS: Alchemy: use runtime cpu detection in GPIO code. (diff) | |
download | linux-5d400f5c59df3ed2c3682a7409c8e81a7c4e650c.tar.xz linux-5d400f5c59df3ed2c3682a7409c8e81a7c4e650c.zip |
MIPS: Alchemy: Only build AU1000 INTC code for compatible cpus
Use the GPIO config symbol to only build Au1000 interrupt code on chips with
compatible hw.
Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
Cc: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/670/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/alchemy/common/Makefile')
-rw-r--r-- | arch/mips/alchemy/common/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/mips/alchemy/common/Makefile b/arch/mips/alchemy/common/Makefile index abf0eb19051e..f46b351a961d 100644 --- a/arch/mips/alchemy/common/Makefile +++ b/arch/mips/alchemy/common/Makefile @@ -5,14 +5,16 @@ # Makefile for the Alchemy Au1xx0 CPUs, generic files. # -obj-y += prom.o irq.o time.o reset.o \ +obj-y += prom.o time.o reset.o \ clocks.o platform.o power.o setup.o \ sleeper.o dma.o dbdma.o +obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += irq.o + # optional gpiolib support ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),) ifeq ($(CONFIG_GPIOLIB),y) - obj-$(CONFIG_ALCHEMY_GPIO_AU1000) += gpiolib-au1000.o + obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += gpiolib-au1000.o endif endif |