diff options
Diffstat (limited to 'kernel/Makefile')
-rw-r--r-- | kernel/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index 685697c0a181..6c584c55a6e9 100644 --- a/kernel/Makefile +++ b/kernel/Makefile | |||
@@ -4,12 +4,12 @@ | |||
4 | 4 | ||
5 | obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ | 5 | obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ |
6 | exit.o itimer.o time.o softirq.o resource.o \ | 6 | exit.o itimer.o time.o softirq.o resource.o \ |
7 | sysctl.o capability.o ptrace.o timer.o user.o user_namespace.o \ | 7 | sysctl.o capability.o ptrace.o timer.o user.o \ |
8 | signal.o sys.o kmod.o workqueue.o pid.o \ | 8 | signal.o sys.o kmod.o workqueue.o pid.o \ |
9 | rcupdate.o extable.o params.o posix-timers.o \ | 9 | rcupdate.o extable.o params.o posix-timers.o \ |
10 | kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \ | 10 | kthread.o wait.o kfifo.o sys_ni.o posix-cpu-timers.o mutex.o \ |
11 | hrtimer.o rwsem.o nsproxy.o srcu.o \ | 11 | hrtimer.o rwsem.o nsproxy.o srcu.o \ |
12 | utsname.o notifier.o ksysfs.o pm_qos_params.o | 12 | notifier.o ksysfs.o pm_qos_params.o |
13 | 13 | ||
14 | obj-$(CONFIG_SYSCTL) += sysctl_check.o | 14 | obj-$(CONFIG_SYSCTL) += sysctl_check.o |
15 | obj-$(CONFIG_STACKTRACE) += stacktrace.o | 15 | obj-$(CONFIG_STACKTRACE) += stacktrace.o |
@@ -42,6 +42,9 @@ obj-$(CONFIG_CGROUPS) += cgroup.o | |||
42 | obj-$(CONFIG_CGROUP_DEBUG) += cgroup_debug.o | 42 | obj-$(CONFIG_CGROUP_DEBUG) += cgroup_debug.o |
43 | obj-$(CONFIG_CPUSETS) += cpuset.o | 43 | obj-$(CONFIG_CPUSETS) += cpuset.o |
44 | obj-$(CONFIG_CGROUP_NS) += ns_cgroup.o | 44 | obj-$(CONFIG_CGROUP_NS) += ns_cgroup.o |
45 | obj-$(CONFIG_UTS_NS) += utsname.o | ||
46 | obj-$(CONFIG_USER_NS) += user_namespace.o | ||
47 | obj-$(CONFIG_PID_NS) += pid_namespace.o | ||
45 | obj-$(CONFIG_IKCONFIG) += configs.o | 48 | obj-$(CONFIG_IKCONFIG) += configs.o |
46 | obj-$(CONFIG_RESOURCE_COUNTERS) += res_counter.o | 49 | obj-$(CONFIG_RESOURCE_COUNTERS) += res_counter.o |
47 | obj-$(CONFIG_STOP_MACHINE) += stop_machine.o | 50 | obj-$(CONFIG_STOP_MACHINE) += stop_machine.o |
@@ -88,3 +91,11 @@ quiet_cmd_ikconfiggz = IKCFG $@ | |||
88 | targets += config_data.h | 91 | targets += config_data.h |
89 | $(obj)/config_data.h: $(obj)/config_data.gz FORCE | 92 | $(obj)/config_data.h: $(obj)/config_data.gz FORCE |
90 | $(call if_changed,ikconfiggz) | 93 | $(call if_changed,ikconfiggz) |
94 | |||
95 | $(obj)/time.o: $(obj)/timeconst.h | ||
96 | |||
97 | quiet_cmd_timeconst = TIMEC $@ | ||
98 | cmd_timeconst = $(PERL) $< $(CONFIG_HZ) > $@ | ||
99 | targets += timeconst.h | ||
100 | $(obj)/timeconst.h: $(src)/timeconst.pl FORCE | ||
101 | $(call if_changed,timeconst) | ||