Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for arch/m68knommu/platform/68328. |
| 3 | # |
| 4 | |
Greg Ungerer | 281eff5 | 2011-06-21 14:03:30 +1000 | [diff] [blame] | 5 | model-y := ram |
| 6 | model-$(CONFIG_ROMKERNEL) := rom |
| 7 | |
| 8 | head-y = head-$(model-y).o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 9 | head-$(CONFIG_PILOT) = head-pilot.o |
| 10 | head-$(CONFIG_DRAGEN2) = head-de2.o |
| 11 | |
| 12 | obj-y += entry.o ints.o timers.o |
| 13 | obj-$(CONFIG_M68328) += config.o |
Greg Ungerer | 541960f | 2006-06-28 15:59:54 +1000 | [diff] [blame] | 14 | obj-$(CONFIG_ROM) += romvec.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | extra-y := head.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 17 | |
| 18 | $(obj)/head.o: $(obj)/$(head-y) |
| 19 | ln -sf $(head-y) $(obj)/head.o |
| 20 | |
Greg Ungerer | c0e0c89 | 2011-12-22 16:19:59 +1000 | [diff] [blame] | 21 | clean-files := $(obj)/head.o $(head-y) |