Browse Source

* patched udhcp to only build/install udhcpc

legacy/try1
amery 20 years ago
parent
commit
76d4bcf9fe
1 changed files with 31 additions and 0 deletions
  1. +31
    -0
      patches/udhcp.patch

+ 31
- 0
patches/udhcp.patch

@ -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

Loading…
Cancel
Save