[parisc-linux-cvs] [PATCH] Make kernel compile with CONFIG_MODULES=n

Ryan Bradetich rbradetich@uswest.net
29 Nov 2002 22:51:06 -0700


--=-AVsAjE/D3C7hONGhnp0C
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Simple patch to fix the linux-2.5 kernel to compile with
CONFIG_MODULES=n

Thanks,

- Ryan



--=-AVsAjE/D3C7hONGhnp0C
Content-Disposition: attachment; filename=makefile.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/x-patch; name=makefile.diff; charset=ISO-8859-1

Index: arch/parisc/kernel/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /var/cvs/linux-2.5/arch/parisc/kernel/Makefile,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile
--- arch/parisc/kernel/Makefile	29 Nov 2002 18:03:00 -0000	1.15
+++ arch/parisc/kernel/Makefile	30 Nov 2002 05:48:01 -0000
@@ -17,11 +17,12 @@ obj-y	     	:=3D cache.o pacache.o setup.o
 		   pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
 		   ptrace.o hardware.o inventory.o drivers.o semaphore.o \
 		   signal.o hpmc.o real2.o parisc_ksyms.o unaligned.o \
-		   processor.o pdc_chassis.o module.o
+		   processor.o pdc_chassis.o
=20
 obj-$(CONFIG_SMP) +=3D smp.o=20
 obj-$(CONFIG_PA11) +=3D pci-dma.o
 obj-$(CONFIG_PCI) +=3D pci.o
+obj-$(CONFIG_MODULES) +=3D module.o
 obj-$(CONFIG_PARISC64) +=3D binfmt_elf32.o sys_parisc32.o \
 		ioctl32.o signal32.o
 # only supported for PCX-W/U in 64-bit mode at the moment

--=-AVsAjE/D3C7hONGhnp0C--