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/82462b4e3d18
branches:  trunk
changeset: 842882:82462b4e3d18
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 f520da5ff3fa -r 82462b4e3d18 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