kbuild: Do not clutter output with make -jN
[linux-flexiantxendom0-3.2.10.git] / init / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
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_MD)     += do_mounts_md.o
10
11 # files to be removed upon make clean
12 clean-files := ../include/linux/compile.h
13
14 # dependencies on generated files need to be listed explicitly
15
16 $(obj)/version.o: include/linux/compile.h
17
18 # compile.h changes depending on hostname, generation number, etc,
19 # so we regenerate it always.
20 # mkcompile_h will make sure to only update the
21 # actual file if its content has changed.
22
23 include/linux/compile.h: FORCE
24         @echo '  CHK     $@'
25         @sh $(srctree)/scripts/mkcompile_h $@ "$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CC) $(CFLAGS)"