Source
6
6
ccflags-y := -fno-function-sections -fno-data-sections
7
7
8
8
obj-y := main.o version.o mounts.o
9
9
ifneq ($(CONFIG_BLK_DEV_INITRD),y)
10
10
obj-y += noinitramfs.o
11
11
else
12
12
obj-$(CONFIG_BLK_DEV_INITRD) += initramfs.o
13
13
endif
14
14
obj-$(CONFIG_GENERIC_CALIBRATE_DELAY) += calibrate.o
15
15
16
-
ifneq ($(CONFIG_ARCH_INIT_TASK),y)
17
16
obj-y += init_task.o
18
-
endif
19
17
20
18
mounts-y := do_mounts.o
21
19
mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o
22
20
mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
23
21
mounts-$(CONFIG_BLK_DEV_MD) += do_mounts_md.o
24
22
25
23
# dependencies on generated files need to be listed explicitly
26
24
$(obj)/version.o: include/generated/compile.h
27
25
28
26
# compile.h changes depending on hostname, generation number, etc,