blob: 06c0e65a54b5e079c1fd4f52ed71e289e68874c9 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
Sergei Shtylyovc1dcb142008-04-30 23:18:41 +04002# Copyright 2000, 2008 MontaVista Software Inc.
3# Author: MontaVista Software, Inc. <source@mvista.com>
Linus Torvalds1da177e2005-04-16 15:20:36 -07004#
Sergei Shtylyovc1dcb142008-04-30 23:18:41 +04005# Makefile for the Alchemy Au1xx0 CPUs, generic files.
Linus Torvalds1da177e2005-04-16 15:20:36 -07006#
7
Manuel Lauss32fd6902009-12-08 19:18:13 +01008obj-y += prom.o time.o clocks.o platform.o power.o setup.o \
Manuel Lauss51e02b02009-06-06 14:09:55 +02009 sleeper.o dma.o dbdma.o
10
Manuel Lauss5d400f52009-11-23 20:40:01 +010011obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += irq.o
12
Manuel Lauss51e02b02009-06-06 14:09:55 +020013# optional gpiolib support
14ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
15 ifeq ($(CONFIG_GPIOLIB),y)
Manuel Lauss5d400f52009-11-23 20:40:01 +010016 obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += gpiolib-au1000.o
Manuel Lauss51e02b02009-06-06 14:09:55 +020017 endif
18endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070019
Linus Torvalds1da177e2005-04-16 15:20:36 -070020obj-$(CONFIG_PCI) += pci.o
Ralf Baechledde96ca2007-07-30 11:48:58 +010021
22EXTRA_CFLAGS += -Werror