Module Name:    src
Committed By:   roy
Date:           Fri Jul 26 10:49:06 UTC 2019

Modified Files:
        src/external/bsd/dhcpcd/sbin/dhcpcd: Makefile

Log Message:
Build dhcpcd without ARP support for SMALL builds.
The only functionality lost on modern NetBSD is the ability to
announce the preferred address for address sharing.
This shouldn't be an issue for installations.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.47 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.48
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.47	Thu Jul 25 08:58:32 2019
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Fri Jul 26 10:49:06 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.47 2019/07/25 08:58:32 roy Exp $
+# $NetBSD: Makefile,v 1.48 2019/07/26 10:49:06 roy Exp $
 #
 
 WARNS?=		6
@@ -30,10 +30,13 @@ SRCS+=		auth.c
 .endif
 
 .if (${USE_INET} != "no")
-CPPFLAGS+=	-DARP -DINET
-SRCS+=		arp.c bpf.c dhcp.c ipv4.c
+CPPFLAGS+=	-DINET
+SRCS+=		bpf.c dhcp.c ipv4.c
 .if !defined(SMALLPROG)
-CPPFLAGS+=	-DIPV4LL -DARPING
+CPPFLAGS+=	-DARP
+SRCS+=		arp.c
+CPPFLAGS+=	-DARPING
+CPPFLAGS+=	-DIPV4LL
 SRCS+=		ipv4ll.c
 .endif
 .endif

Reply via email to