]> err.no Git - linux-2.6/commitdiff
[ARM] 4756/1: [AT91] Makefile cleanup
authorAndrew Victor <linux@maxim.org.za>
Wed, 23 Jan 2008 08:23:09 +0000 (09:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 26 Jan 2008 15:00:32 +0000 (15:00 +0000)
Cleanup the main AT91 makefile.

Signed-off-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-at91/Makefile

index a21f08c64ea664677ae114873464c8a84c019a76..a8a009c2cf7d07d7bcbb11b89cc1d73f7041b8b0 100644 (file)
@@ -8,7 +8,6 @@ obj-n           :=
 obj-           :=
 
 obj-$(CONFIG_AT91_PMC_UNIT)    += clock.o
-obj-$(CONFIG_PM)               += pm.o
 
 # CPU-specific support
 obj-$(CONFIG_ARCH_AT91RM9200)  += at91rm9200.o at91rm9200_time.o at91rm9200_devices.o
@@ -29,7 +28,6 @@ obj-$(CONFIG_MACH_KB9200)     += board-kb9202.o
 obj-$(CONFIG_MACH_ATEB9200)    += board-eb9200.o
 obj-$(CONFIG_MACH_KAFA)                += board-kafa.o
 obj-$(CONFIG_MACH_PICOTUX2XX)  += board-picotux200.o
-obj-$(CONFIG_MACH_AT91EB01)    += board-eb01.o
 
 # AT91SAM9260 board-specific support
 obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o
@@ -43,19 +41,14 @@ obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o
 # AT91SAM9RL board-specific support
 obj-$(CONFIG_MACH_AT91SAM9RLEK)        += board-sam9rlek.o
 
-# LEDs support
-led-$(CONFIG_ARCH_AT91RM9200DK)        += leds.o
-led-$(CONFIG_MACH_AT91RM9200EK)        += leds.o
-led-$(CONFIG_MACH_AT91SAM9261EK)+= leds.o
-led-$(CONFIG_MACH_CSB337)      += leds.o
-led-$(CONFIG_MACH_CSB637)      += leds.o
-led-$(CONFIG_MACH_KB9200)      += leds.o
-led-$(CONFIG_MACH_KAFA)                += leds.o
-obj-$(CONFIG_LEDS) += $(led-y)
+# AT91X40 board-specific support
+obj-$(CONFIG_MACH_AT91EB01)    += board-eb01.o
 
-# VGA support
-#obj-$(CONFIG_FB_S1D13XXX)     += ics1523.o
+# Drivers
+obj-$(CONFIG_LEDS)             += leds.o
 
+# Power Management
+obj-$(CONFIG_PM)               += pm.o
 
 ifeq ($(CONFIG_PM_DEBUG),y)
 CFLAGS_pm.o += -DDEBUG