Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 |
Greg Ungerer | 541960f | 2006-06-28 15:59:54 +1000 | [diff] [blame] | 11 | obj-$(CONFIG_ROM) += romvec.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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) |