summaryrefslogtreecommitdiff
path: root/init/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'init/Makefile')
-rw-r--r--init/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/init/Makefile b/init/Makefile
index c55eac955cdc..7bc47ee31c36 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -9,7 +9,10 @@ else
obj-$(CONFIG_BLK_DEV_INITRD) += initramfs.o
endif
obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o
-obj-$(CONFIG_HAVE_GENERIC_INIT_TASK) += init_task.o
+
+ifneq ($(CONFIG_ARCH_INIT_TASK),y)
+obj-y += init_task.o
+endif
mounts-y := do_mounts.o
mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o