* [PATCH 2.4] hotplug: Don't build cpqphp_proc.o if !PROC_FS
@ 2004-09-18 7:18 Joshua Kwan
0 siblings, 0 replies; only message in thread
From: Joshua Kwan @ 2004-09-18 7:18 UTC (permalink / raw)
To: linux-kernel mailing list; +Cc: marcelo.tosatti
[-- Attachment #1: Type: text/plain, Size: 1117 bytes --]
Hello,
This simple patch to drivers/hotplug/Makefile eliminates a build failure
for cpqphp if CONFIG_PROC_FS is disabled. Herbert Xu originally wrote
this patch.
Marcelo, please apply.
(Note: does not apply to 2.6 because stuff seems to have switched to
sysfs there.)
Signed-off-by: Joshua Kwan <joshk@triplehelix.org>
--
Joshua Kwan
# origin: Debian (herbert)
# cset: n/a
# inclusion: not submitted
# description: don't build cpqphp_proc.o if !PROC_FS
# revision date: 2004-09-05
diff -urN kernel-source-2.4.26/drivers/hotplug/Makefile kernel-source-2.4.26-1/drivers/hotplug/Makefile
--- kernel-source-2.4.26/drivers/hotplug/Makefile 2003-08-25 21:44:41.000000000 +1000
+++ kernel-source-2.4.26-1/drivers/hotplug/Makefile 2004-04-17 08:17:42.000000000 +1000
@@ -18,7 +18,6 @@
cpqphp-objs := cpqphp_core.o \
cpqphp_ctrl.o \
- cpqphp_proc.o \
cpqphp_pci.o
ibmphp-objs := ibmphp_core.o \
@@ -36,5 +35,9 @@
cpqphp-objs += cpqphp_nvram.o
endif
+ifeq ($(CONFIG_PROC_FS),y)
+ cpqphp-objs += cpqphp_proc.o
+endif
+
include $(TOPDIR)/Rules.make
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 881 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-18 7:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-18 7:18 [PATCH 2.4] hotplug: Don't build cpqphp_proc.o if !PROC_FS Joshua Kwan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®