First Support on Ginger and OMAP TI
[linux-ginger.git] / arch / m68knommu / platform / 68328 / Makefile
blob5e5435552d5652da8b4e1b0fa6f81c24a9a028b4
2 # Makefile for arch/m68knommu/platform/68328.
5 head-y = head-$(MODEL).o
6 head-$(CONFIG_PILOT) = head-pilot.o
7 head-$(CONFIG_DRAGEN2) = head-de2.o
9 obj-y += entry.o ints.o timers.o
10 obj-$(CONFIG_M68328) += config.o
11 obj-$(CONFIG_ROM) += romvec.o
13 extra-y := head.o
14 extra-$(CONFIG_M68328) += bootlogo.rh head.o
16 $(obj)/bootlogo.rh: $(src)/bootlogo.h
17 perl $(src)/bootlogo.pl < $(src)/bootlogo.h > $(obj)/bootlogo.rh
19 $(obj)/head.o: $(obj)/$(head-y)
20 ln -sf $(head-y) $(obj)/head.o
22 clean-files := $(obj)/bootlogo.rh $(obj)/head.o $(head-y)