blob: f46b351a961dc783094787cf5fe039c7d36f018c [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 Lauss5d400f52009-11-23 20:40:01 +01008obj-y += prom.o time.o reset.o \
Manuel Lauss785e3262008-12-21 09:26:17 +01009 clocks.o platform.o power.o setup.o \
Manuel Lauss51e02b02009-06-06 14:09:55 +020010 sleeper.o dma.o dbdma.o
11
Manuel Lauss5d400f52009-11-23 20:40:01 +010012obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += irq.o
13
Manuel Lauss51e02b02009-06-06 14:09:55 +020014# optional gpiolib support
15ifeq ($(CONFIG_ALCHEMY_GPIO_INDIRECT),)
16 ifeq ($(CONFIG_GPIOLIB),y)
Manuel Lauss5d400f52009-11-23 20:40:01 +010017 obj-$(CONFIG_ALCHEMY_GPIOINT_AU1000) += gpiolib-au1000.o
Manuel Lauss51e02b02009-06-06 14:09:55 +020018 endif
19endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070020
Linus Torvalds1da177e2005-04-16 15:20:36 -070021obj-$(CONFIG_PCI) += pci.o
Ralf Baechledde96ca2007-07-30 11:48:58 +010022
23EXTRA_CFLAGS += -Werror