Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/sbin/dhcpcd Build dhcpcd without ARP sup...



details:   https://anonhg.NetBSD.org/src/rev/a82f01a88e95
branches:  trunk
changeset: 458004:a82f01a88e95
user:      roy <roy%NetBSD.org@localhost>
date:      Fri Jul 26 10:49:06 2019 +0000

description:
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.

diffstat:

 external/bsd/dhcpcd/sbin/dhcpcd/Makefile |  11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r 75324480e84a -r a82f01a88e95 external/bsd/dhcpcd/sbin/dhcpcd/Makefile
--- a/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Jul 26 10:48:44 2019 +0000
+++ b/external/bsd/dhcpcd/sbin/dhcpcd/Makefile  Fri Jul 26 10:49:06 2019 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index