here's another stab at the problem.  this one should work ok for everyone
concerned (i'm assuming of course as i have no way of actually testing
ledman).

Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]>
Index: user/dhcpcd-new/Makefile
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/user/dhcpcd-new/Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 Makefile
--- user/dhcpcd-new/Makefile    11 Jun 2007 06:55:04 -0000      1.1.1.1
+++ user/dhcpcd-new/Makefile    13 Jun 2007 00:40:14 -0000
@@ -5,6 +5,9 @@ OBJS = arp.o buildmsg.o client.o dhcpcd.
 ifeq ($(findstring 2.0,$(LINUXDIR)),2.0)
 CFLAGS += -DOLD_LINUX_VERSION=1
 endif
+ifneq ($(CONFIG_LEDMAN),)
+CFLAGS += -DCONFIG_LEDMAN
+endif
 
 CFLAGS += -D_BSD_SOURCE=1
 
Index: user/dhcpcd-new/client.c
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/user/dhcpcd-new/client.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 client.c
--- user/dhcpcd-new/client.c    11 Jun 2007 06:55:04 -0000      1.1.1.1
+++ user/dhcpcd-new/client.c    13 Jun 2007 00:40:16 -0000
@@ -48,7 +48,6 @@
 #include "pathnames.h"
 #include "confdefs.h"
 
-#include <linux/autoconf.h>
 #ifdef CONFIG_LEDMAN
 #include <linux/ledman.h>
 #endif
Index: user/dhcpcd-new/dhcpcd.c
===================================================================
RCS file: /usr/local/src/uClinux/local-cvs/,v/user/dhcpcd-new/dhcpcd.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 dhcpcd.c
--- user/dhcpcd-new/dhcpcd.c    11 Jun 2007 06:55:04 -0000      1.1.1.1
+++ user/dhcpcd-new/dhcpcd.c    13 Jun 2007 00:39:57 -0000
@@ -33,7 +33,6 @@
 #include "client.h"
 #include "signals.h"
 
-#include <linux/autoconf.h>
 #ifdef CONFIG_LEDMAN
 #include <linux/ledman.h>
 #endif
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to