Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the linux kernel. | |
3 | # | |
4 | ||
5 | obj-y := main.o version.o mounts.o initramfs.o | |
6 | obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o | |
7 | ||
8 | mounts-y := do_mounts.o | |
1da177e4 LT |
9 | mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o |
10 | mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o | |
11 | mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o | |
12 | ||
13 | # files to be removed upon make clean | |
14 | clean-files := ../include/linux/compile.h | |
15 | ||
16 | # dependencies on generated files need to be listed explicitly | |
17 | ||
a2ee8649 | 18 | $(obj)/main.o: include/linux/compile.h |
1da177e4 LT |
19 | $(obj)/version.o: include/linux/compile.h |
20 |