1# 2# Makefile for the linux kernel. 3# 4 5obj-y := irq.o gpio.o setup.o 6obj-m := 7obj-n := 8obj- := 9 10obj-$(CONFIG_AT91_PMC_UNIT) += clock.o 11obj-$(CONFIG_AT91_SAM9_ALT_RESET) += at91sam9_alt_reset.o 12obj-$(CONFIG_AT91_SAM9G45_RESET) += at91sam9g45_reset.o 13obj-$(CONFIG_SOC_AT91SAM9) += at91sam926x_time.o sam9_smc.o 14 15# CPU-specific support 16obj-$(CONFIG_SOC_AT91RM9200) += at91rm9200.o at91rm9200_time.o 17obj-$(CONFIG_SOC_AT91SAM9260) += at91sam9260.o 18obj-$(CONFIG_SOC_AT91SAM9261) += at91sam9261.o 19obj-$(CONFIG_SOC_AT91SAM9263) += at91sam9263.o 20obj-$(CONFIG_SOC_AT91SAM9G45) += at91sam9g45.o 21obj-$(CONFIG_SOC_AT91SAM9N12) += at91sam9n12.o 22obj-$(CONFIG_SOC_AT91SAM9X5) += at91sam9x5.o 23obj-$(CONFIG_SOC_AT91SAM9RL) += at91sam9rl.o 24 25obj-$(CONFIG_ARCH_AT91RM9200) += at91rm9200_devices.o 26obj-$(CONFIG_ARCH_AT91SAM9260) += at91sam9260_devices.o 27obj-$(CONFIG_ARCH_AT91SAM9261) += at91sam9261_devices.o 28obj-$(CONFIG_ARCH_AT91SAM9G10) += at91sam9261_devices.o 29obj-$(CONFIG_ARCH_AT91SAM9263) += at91sam9263_devices.o 30obj-$(CONFIG_ARCH_AT91SAM9RL) += at91sam9rl_devices.o 31obj-$(CONFIG_ARCH_AT91SAM9G20) += at91sam9260_devices.o 32obj-$(CONFIG_ARCH_AT91SAM9G45) += at91sam9g45_devices.o 33obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o 34 35# AT91RM9200 board-specific support 36obj-$(CONFIG_MACH_ONEARM) += board-1arm.o 37obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o 38obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o 39obj-$(CONFIG_MACH_CSB337) += board-csb337.o 40obj-$(CONFIG_MACH_CSB637) += board-csb637.o 41obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o 42obj-$(CONFIG_MACH_KB9200) += board-kb9202.o 43obj-$(CONFIG_MACH_ATEB9200) += board-eb9200.o 44obj-$(CONFIG_MACH_KAFA) += board-kafa.o 45obj-$(CONFIG_MACH_PICOTUX2XX) += board-picotux200.o 46obj-$(CONFIG_MACH_ECBAT91) += board-ecbat91.o 47obj-$(CONFIG_MACH_YL9200) += board-yl-9200.o 48obj-$(CONFIG_MACH_CPUAT91) += board-cpuat91.o 49obj-$(CONFIG_MACH_ECO920) += board-eco920.o 50obj-$(CONFIG_MACH_RSI_EWS) += board-rsi-ews.o 51 52# AT91SAM9260 board-specific support 53obj-$(CONFIG_MACH_AT91SAM9260EK) += board-sam9260ek.o 54obj-$(CONFIG_MACH_CAM60) += board-cam60.o 55obj-$(CONFIG_MACH_SAM9_L9260) += board-sam9-l9260.o 56obj-$(CONFIG_MACH_USB_A9260) += board-usb-a926x.o 57obj-$(CONFIG_MACH_QIL_A9260) += board-qil-a9260.o 58obj-$(CONFIG_MACH_AFEB9260) += board-afeb-9260v1.o 59obj-$(CONFIG_MACH_CPU9260) += board-cpu9krea.o 60obj-$(CONFIG_MACH_FLEXIBITY) += board-flexibity.o 61 62# AT91SAM9261 board-specific support 63obj-$(CONFIG_MACH_AT91SAM9261EK) += board-sam9261ek.o 64obj-$(CONFIG_MACH_AT91SAM9G10EK) += board-sam9261ek.o 65 66# AT91SAM9263 board-specific support 67obj-$(CONFIG_MACH_AT91SAM9263EK) += board-sam9263ek.o 68obj-$(CONFIG_MACH_USB_A9263) += board-usb-a926x.o 69obj-$(CONFIG_MACH_NEOCORE926) += board-neocore926.o 70 71# AT91SAM9RL board-specific support 72obj-$(CONFIG_MACH_AT91SAM9RLEK) += board-sam9rlek.o 73 74# AT91SAM9G20 board-specific support 75obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o 76obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o 77obj-$(CONFIG_MACH_ACMENETUSFOXG20) += board-foxg20.o 78obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o 79obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o 80obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o 81obj-$(CONFIG_MACH_GSIA18S) += board-gsia18s.o board-stamp9g20.o 82obj-$(CONFIG_MACH_USB_A9G20) += board-usb-a926x.o 83 84# AT91SAM9260/AT91SAM9G20 board-specific support 85obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o 86 87# AT91SAM9G45 board-specific support 88obj-$(CONFIG_MACH_AT91SAM9M10G45EK) += board-sam9m10g45ek.o 89 90# AT91SAM board with device-tree 91obj-$(CONFIG_MACH_AT91RM9200_DT) += board-rm9200-dt.o 92obj-$(CONFIG_MACH_AT91SAM_DT) += board-dt.o 93 94# AT91X40 board-specific support 95obj-$(CONFIG_MACH_AT91EB01) += board-eb01.o 96 97# Drivers 98obj-y += leds.o 99 100# Power Management 101obj-$(CONFIG_PM) += pm.o 102obj-$(CONFIG_AT91_SLOW_CLOCK) += pm_slowclock.o 103obj-$(CONFIG_CPU_IDLE) += cpuidle.o 104 105ifeq ($(CONFIG_PM_DEBUG),y) 106CFLAGS_pm.o += -DDEBUG 107endif 108