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 |
| 11 | |
| 12 | extra-y := head.o |
| 13 | extra-$(CONFIG_M68328) += bootlogo.rh head.o |
| 14 | |
| 15 | $(obj)/bootlogo.rh: $(src)/bootlogo.h |
| 16 | perl $(src)/bootlogo.pl < $(src)/bootlogo.h > $(obj)/bootlogo.rh |
| 17 | |
| 18 | $(obj)/head.o: $(obj)/$(head-y) |
| 19 | ln -sf $(head-y) $(obj)/head.o |
| 20 | |
| 21 | clean-files := $(obj)/bootlogo.rh $(obj)/head.o $(head-y) |