All of lore.kernel.org
 help / color / mirror / Atom feed
* inter-module-* removal.. small next step
@ 2005-01-30 18:00 Arjan van de Ven
  2005-01-30 18:05 ` Adrian Bunk
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Arjan van de Ven @ 2005-01-30 18:00 UTC (permalink / raw)
  To: linux-kernel; +Cc: bunk, dwmw2

Hi,

intermodule is deprecated for quite some time now, and MTD is the sole last
user in the tree. To shrink the kernel for the people who don't use MTD, and
to prevent accidental return of more users of this, make the compiling of
this function conditional on MTD.


Signed-off-by: Arjan van de Ven <arjan@infradead.org>

--- linux/kernel/Makefile	2005-01-30 18:57:11.000000000 +0100
+++ linux/kernel/Makefile	2005-01-30 18:57:11.000000000 +0100
@@ -6,7 +6,7 @@
 	    exit.o itimer.o time.o softirq.o resource.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 \
+	    rcupdate.o extable.o params.o posix-timers.o \
 	    kthread.o wait.o kfifo.o sys_ni.o
 
 obj-$(CONFIG_FUTEX) += futex.o
@@ -27,6 +27,10 @@
 obj-$(CONFIG_SYSFS) += ksysfs.o
 obj-$(CONFIG_GENERIC_HARDIRQS) += irq/
 
+inter-$(CONFIG_MTD)	+= intermodule.o
+obj-y	+= $(inter-y)
+obj-y  += $(inter=m)
+
 ifneq ($(CONFIG_IA64),y)
 # According to Alan Modra <alan@linuxcare.com.au>, the -fno-omit-frame-pointer is
 # needed for x86 only.  Why this used to be enabled for all architectures is beyond


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-01-31 14:35 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-30 18:00 inter-module-* removal.. small next step Arjan van de Ven
2005-01-30 18:05 ` Adrian Bunk
2005-01-30 18:10 ` Adrian Bunk
2005-01-30 18:15   ` Arjan van de Ven
2005-01-30 19:58     ` Andrew Morton
2005-01-30 20:29       ` Arjan van de Ven
2005-01-31  0:41 ` David Woodhouse
2005-01-31  0:54   ` Jon Smirl
2005-01-31  1:35     ` David Woodhouse
2005-01-31  8:24   ` Arjan van de Ven
2005-01-31 13:56     ` Jörn Engel
2005-01-31 14:01       ` Adrian Bunk
2005-01-31 14:26         ` Jörn Engel
2005-01-31 14:34         ` Jörn Engel
2005-01-31 14:06       ` David Woodhouse
2005-01-31 14:27         ` Jörn Engel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.