Re: inter-module-* removal.. small next step

From: Adrian Bunk
Date: Sun Jan 30 2005 - 13:09:17 EST


On Sun, Jan 30, 2005 at 06:00:17PM +0000, Arjan van de Ven wrote:
> 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@xxxxxxxxxxxxx>
>
> --- 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)
>...

This should be inter-m .

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/