Pull bugzilla-3774 into release branch
[linux-2.6] / arch / m68knommu / platform / 68328 / Makefile
1 #
2 # Makefile for arch/m68knommu/platform/68328.
3 #
4
5 head-y                  = head-$(MODEL).o
6 head-$(CONFIG_PILOT)    = head-pilot.o
7 head-$(CONFIG_DRAGEN2)  = head-de2.o
8
9 obj-y                   += entry.o ints.o timers.o
10 obj-$(CONFIG_M68328)    += config.o
11 obj-$(CONFIG_ROM)       += romvec.o
12
13 extra-y                 := head.o
14 extra-$(CONFIG_M68328)  += bootlogo.rh head.o
15
16 $(obj)/bootlogo.rh: $(src)/bootlogo.h
17         perl $(src)/bootlogo.pl < $(src)/bootlogo.h > $(obj)/bootlogo.rh
18
19 $(obj)/head.o: $(obj)/$(head-y)
20         ln -sf $(head-y) $(obj)/head.o
21
22 clean-files := $(obj)/bootlogo.rh $(obj)/head.o $(head-y)