Makefile (8402a1588a4f63465079e98481dd83d1d9cc9a98) Makefile (5d400f5c59df3ed2c3682a7409c8e81a7c4e650c)
1#
2# Copyright 2000, 2008 MontaVista Software Inc.
3# Author: MontaVista Software, Inc. <source@mvista.com>
4#
5# Makefile for the Alchemy Au1xx0 CPUs, generic files.
6#
7
1#
2# Copyright 2000, 2008 MontaVista Software Inc.
3# Author: MontaVista Software, Inc. <source@mvista.com>
4#
5# Makefile for the Alchemy Au1xx0 CPUs, generic files.
6#
7
8obj-y += prom.o irq.o time.o reset.o \
8obj-y += prom.o time.o reset.o \
9 clocks.o platform.o power.o setup.o \
10 sleeper.o dma.o dbdma.o
11
9 clocks.o platform.o power.o setup.o \
10 sleeper.o dma.o dbdma.o
11
12obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += irq.o
13
12# optional gpiolib support
13ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
14 ifeq ($(CONFIG_GPIOLIB),y)
14# optional gpiolib support
15ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
16 ifeq ($(CONFIG_GPIOLIB),y)
15 obj-$(CONFIG_ALCHEMY_GPIO_AU1000) += gpiolib-au1000.o
17 obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += gpiolib-au1000.o
16 endif
17endif
18
19obj-$(CONFIG_PCI) += pci.o
20
21EXTRA_CFLAGS += -Werror
18 endif
19endif
20
21obj-$(CONFIG_PCI) += pci.o
22
23EXTRA_CFLAGS += -Werror