blob: 9cd871ce57847439d865c64444c54607048a8c43 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux kernel.
3#
4
5obj-y := main.o version.o mounts.o initramfs.o
6obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o
7
8mounts-y := do_mounts.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o
10mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
11mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o
12
13# files to be removed upon make clean
14clean-files := ../include/linux/compile.h
15
16# dependencies on generated files need to be listed explicitly
17
Herbert Poetzla2ee8642006-12-08 02:36:00 -080018$(obj)/main.o: include/linux/compile.h
Linus Torvalds1da177e2005-04-16 15:20:36 -070019$(obj)/version.o: include/linux/compile.h
20