diff options
| author | Greg Kroah-Hartman <greg@kroah.com> | 2004-09-04 22:56:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <greg@kroah.com> | 2004-09-04 22:56:35 +0200 |
| commit | f4ecc95c96a42a33b74caffc1c559055aaf9bb72 (patch) | |
| tree | ea0bbaa3f587f2488ac47a6cac588e2f2044a17f /kernel/Makefile | |
| parent | 04f912566263d17f7b98f12b0260cbf84d5a4983 (diff) | |
ksysfs: don't build ksysfs if CONFIG_SYSFS is not enabled.
Thanks to Kay Sievers for pointing this out.
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'kernel/Makefile')
| -rw-r--r-- | kernel/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/Makefile b/kernel/Makefile index cbd9e5162690..941e35369858 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -7,7 +7,7 @@ obj-y = sched.o fork.o exec_domain.o panic.o printk.o profile.o \ sysctl.o capability.o ptrace.o timer.o user.o \ signal.o sys.o kmod.o workqueue.o pid.o \ rcupdate.o intermodule.o extable.o params.o posix-timers.o \ - kthread.o ksysfs.o + kthread.o obj-$(CONFIG_FUTEX) += futex.o obj-$(CONFIG_GENERIC_ISA_DMA) += dma.o @@ -24,6 +24,7 @@ obj-$(CONFIG_STOP_MACHINE) += stop_machine.o obj-$(CONFIG_AUDIT) += audit.o obj-$(CONFIG_AUDITSYSCALL) += auditsc.o obj-$(CONFIG_KPROBES) += kprobes.o +obj-$(CONFIG_SYSFS) += ksysfs.o ifneq ($(CONFIG_IA64),y) # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is |
