Fri Sep 15 12:02:00 2017 UTC ()
build dhcpcd with ARPING support for non small builds.


(roy)
diff -r1.40 -r1.41 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

cvs diff -r1.40 -r1.41 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile (expand / switch to unified diff)

--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile 2017/04/14 10:00:06 1.40
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile 2017/09/15 12:02:00 1.41
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.40 2017/04/14 10:00:06 roy Exp $ 1# $NetBSD: Makefile,v 1.41 2017/09/15 12:02:00 roy Exp $
2# 2#
3 3
4WARNS?= 6 4WARNS?= 6
5USE_FORT?= yes # network client (local server) 5USE_FORT?= yes # network client (local server)
6 6
7.include <bsd.init.mk> 7.include <bsd.init.mk>
8.include "../../Makefile.inc" 8.include "../../Makefile.inc"
9 9
10PROG= dhcpcd 10PROG= dhcpcd
11SRCS= common.c control.c dhcpcd.c duid.c eloop.c logerr.c 11SRCS= common.c control.c dhcpcd.c duid.c eloop.c logerr.c
12SRCS+= if.c if-options.c route.c sa.c script.c 12SRCS+= if.c if-options.c route.c sa.c script.c
13SRCS+= dhcp-common.c dhcpcd-embedded.c 13SRCS+= dhcp-common.c dhcpcd-embedded.c
14SRCS+= if-bsd.c 14SRCS+= if-bsd.c
@@ -23,27 +23,27 @@ USE_INET?= yes @@ -23,27 +23,27 @@ USE_INET?= yes
23.if defined(SMALLPROG) 23.if defined(SMALLPROG)
24CPPFLAGS+= -DSMALL 24CPPFLAGS+= -DSMALL
25DHCPCD_DEFS= dhcpcd-definitions-small.conf 25DHCPCD_DEFS= dhcpcd-definitions-small.conf
26.else 26.else
27DHCPCD_DEFS= dhcpcd-definitions.conf 27DHCPCD_DEFS= dhcpcd-definitions.conf
28CPPFLAGS+= -DAUTH 28CPPFLAGS+= -DAUTH
29SRCS+= auth.c hmac_md5.c 29SRCS+= auth.c hmac_md5.c
30.endif 30.endif
31 31
32.if (${USE_INET} != "no") 32.if (${USE_INET} != "no")
33CPPFLAGS+= -DARP -DINET 33CPPFLAGS+= -DARP -DINET
34SRCS+= arp.c bpf.c dhcp.c ipv4.c 34SRCS+= arp.c bpf.c dhcp.c ipv4.c
35.if !defined(SMALLPROG) 35.if !defined(SMALLPROG)
36CPPFLAGS+= -DIPV4LL 36CPPFLAGS+= -DIPV4LL -DARPING
37SRCS+= ipv4ll.c 37SRCS+= ipv4ll.c
38.endif 38.endif
39.endif 39.endif
40 40
41.if (${USE_INET6} != "no") 41.if (${USE_INET6} != "no")
42CPPFLAGS+= -DINET6 42CPPFLAGS+= -DINET6
43SRCS+= ipv6.c ipv6nd.c 43SRCS+= ipv6.c ipv6nd.c
44# -DSMALL already strips out prefix delegation 44# -DSMALL already strips out prefix delegation
45# A network could be IPv6 only and require DHCPv6 45# A network could be IPv6 only and require DHCPv6
46CPPFLAGS+= -DDHCP6 46CPPFLAGS+= -DDHCP6
47SRCS+= dhcp6.c 47SRCS+= dhcp6.c
48.endif 48.endif
49 49