2 # Makefile for the linux kernel.
4 # Note! Dependencies are done automagically by 'make dep', which also
5 # removes any old dependencies. DON'T put your own dependencies here
6 # unless it's something special (ie not a .c file).
8 # Note 2! The CFLAGS definitions are now in the main makefile...
10 extra-y
:= head.o init_task.o vmlinux.lds
12 obj-y
:= entry.o traps.o irq.o syscalltable.o \
13 process.o signal.o setup.o sys_nios2.o \
14 semaphore.o io.o usb.o\
15 time.o ptrace.o start.o nios2_ksyms.o
17 obj-
$(CONFIG_MODULES
) += module.o
18 obj-
$(CONFIG_CONSOLE
) += console.o
19 obj-
$(CONFIG_PIO_DEVICES
) += pio.o
20 obj-
$(CONFIG_AVALON_DMA
) += dma.o