|
|
|
@ -0,0 +1,31 @@ |
|
|
|
--- ./Makefile.orig 2006-07-18 22:03:41.000000000 +0200
|
|
|
|
+++ ./Makefile 2006-07-18 22:05:38.000000000 +0200
|
|
|
|
@@ -9,7 +9,7 @@
|
|
|
|
|
|
|
|
# Uncomment this to get a shared binary. Call as udhcpd for the server, |
|
|
|
# and udhcpc for the client |
|
|
|
-COMBINED_BINARY=1
|
|
|
|
+#COMBINED_BINARY=1
|
|
|
|
|
|
|
|
# Uncomment this for extra output and to compile with debugging symbols |
|
|
|
#UDHCP_DEBUG=1 |
|
|
|
@@ -59,8 +59,8 @@
|
|
|
|
STRIP=$(CROSS_COMPILE)strip |
|
|
|
endif |
|
|
|
|
|
|
|
-all: $(EXEC1) $(EXEC2) $(EXEC3)
|
|
|
|
- $(STRIP) --remove-section=.note --remove-section=.comment $(EXEC1) $(EXEC2) $(EXEC3)
|
|
|
|
+all: $(BOOT_PROGRAM)
|
|
|
|
+ $(STRIP) --remove-section=.note --remove-section=.comment $(BOOT_PROGRAM)
|
|
|
|
|
|
|
|
$(OBJS1) $(OBJS2) $(OBJS3): *.h Makefile |
|
|
|
$(EXEC1) $(EXEC2) $(EXEC3): Makefile |
|
|
|
@@ -80,8 +80,6 @@
|
|
|
|
|
|
|
|
install: all |
|
|
|
mkdir -p $(USRSBINDIR) $(USRBINDIR) |
|
|
|
- $(INSTALL) -m 755 $(DAEMON) $(USRSBINDIR)
|
|
|
|
- $(INSTALL) -m 755 $(COMMAND) $(USRBINDIR)
|
|
|
|
ifdef COMBINED_BINARY |
|
|
|
ln -sf $(DAEMON) $(USRSBINDIR)/$(BOOT_PROGRAM) |
|
|
|
else |