diff options
Diffstat (limited to 'init/Makefile')
-rw-r--r-- | init/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/init/Makefile b/init/Makefile index 633a268d270d..0154aea1e52d 100644 --- a/init/Makefile +++ b/init/Makefile | |||
@@ -2,7 +2,12 @@ | |||
2 | # Makefile for the linux kernel. | 2 | # Makefile for the linux kernel. |
3 | # | 3 | # |
4 | 4 | ||
5 | obj-y := main.o version.o mounts.o initramfs.o | 5 | obj-y := main.o version.o mounts.o |
6 | ifneq ($(CONFIG_BLK_DEV_INITRD),y) | ||
7 | obj-y += noinitramfs.o | ||
8 | else | ||
9 | obj-$(CONFIG_BLK_DEV_INITRD) += initramfs.o | ||
10 | endif | ||
6 | obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o | 11 | obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o |
7 | 12 | ||
8 | mounts-y := do_mounts.o | 13 | mounts-y := do_mounts.o |