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 # Dave Redman Frame Buffer tuning support.
11 # OK this is kind of ugly but it does allow drivers to be added fairly
12 # easily. and you can even choose what sort of support you want.
15 O_OBJS
:= ${O_OBJ} sunkbd.o sunkbdmap.o sunmouse.o sunserial.o zs.o
18 ifeq ($(ARCH
),sparc64
)
20 ifeq ($(CONFIG_PCI
),y
)
22 O_OBJS
+= su.o pcikbd.o
24 ifeq ($(CONFIG_SAB82532
),y
)
27 ifeq ($(CONFIG_SAB82532
),m
)
32 ifeq ($(CONFIG_ENVCTRL
),y
)
35 ifeq ($(CONFIG_ENVCTRL
),m
)
40 endif # eq($(CONFIG_PCI,y)
42 ifeq ($(CONFIG_OBP_FLASH
),y
)
45 ifeq ($(CONFIG_OBP_FLASH
),m
)
50 else # !eq($(ARCH),sparc64)
52 ifeq ($(CONFIG_PCI
),y
)
53 O_OBJS
+= su.o pcikbd.o
56 endif # !eq($(ARCH),sparc64)
58 ifeq ($(CONFIG_SUN_OPENPROMIO
),y
)
61 ifeq ($(CONFIG_SUN_OPENPROMIO
),m
)
66 ifeq ($(CONFIG_SUN_MOSTEK_RTC
),y
)
69 ifeq ($(CONFIG_SUN_MOSTEK_RTC
),m
)
74 ifeq ($(CONFIG_SUN_BPP
),y
)
77 ifeq ($(CONFIG_SUN_BPP
),m
)
82 ifeq ($(CONFIG_SUN_VIDEOPIX
),y
)
85 ifeq ($(CONFIG_SUN_VIDEOPIX
),m
)
90 ifeq ($(CONFIG_SUN_AURORA
),y
)
93 ifeq ($(CONFIG_SUN_AURORA
),m
)
98 ifeq ($(CONFIG_TADPOLE_TS102_UCTRL
),y
)
101 ifeq ($(CONFIG_TADPOLE_TS102_UCTRL
),m
)
106 include $(TOPDIR
)/Rules.make
108 sunkbdmap.o
: sunkeymap.c
110 vfc.o
: vfc_dev.o vfc_i2c.o
111 $(LD
) -r
-o vfc.o vfc_dev.o vfc_i2c.o