Message ID | 20040416221634.GA15721@gondor.apana.org.au |
---|---|
State | New, archived |
Headers | show |
Series |
|
Related | show |
On Sat, Apr 17, 2004 at 08:16:34AM +1000, Herbert Xu wrote: > Hi: > > This patch makes cpqphp build without procfs. Why would you want to do that? thanks, greg k-h - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Index: drivers/hotplug/Makefile =================================================================== RCS file: /home/gondolin/herbert/src/CVS/debian/kernel-source-2.4/drivers/hotplug/Makefile,v retrieving revision 1.1.1.5 diff -u -r1.1.1.5 Makefile --- a/drivers/hotplug/Makefile 30 Aug 2003 06:01:37 -0000 1.1.1.5 +++ b/drivers/hotplug/Makefile 16 Apr 2004 22:16:13 -0000 @@ -18,7 +18,6 @@ cpqphp-objs := cpqphp_core.o \ cpqphp_ctrl.o \ - cpqphp_proc.o \ cpqphp_pci.o ibmphp-objs := ibmphp_core.o \ @@ -36,6 +35,10 @@ cpqphp-objs += cpqphp_nvram.o endif +ifeq ($(CONFIG_PROC_FS),y) + cpqphp-objs += cpqphp_proc.o +endif + include $(TOPDIR)/Rules.make