MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / init / Makefile
blob767b47b4f32c32c28dd3c5500a7c86a578ef56da
2 # Makefile for the linux kernel.
5 obj-y := main.o version.o mounts.o initramfs.o
6 mounts-y := do_mounts.o
7 mounts-$(CONFIG_DEVFS_FS) += do_mounts_devfs.o
8 mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o
9 mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
10 mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o
12 # files to be removed upon make clean
13 clean-files := ../include/linux/compile.h
15 # dependencies on generated files need to be listed explicitly
17 $(obj)/version.o: include/linux/compile.h
19 # compile.h changes depending on hostname, generation number, etc,
20 # so we regenerate it always.
21 # mkcompile_h will make sure to only update the
22 # actual file if its content has changed.
24 include/linux/compile.h: FORCE
25 @echo ' CHK $@'
26 @$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"