diff options
| author | Roy Marples <roy@marples.name> | 2016-09-09 09:56:26 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-09-09 09:56:26 +0000 |
| commit | 98cc5e0b723fa5b40711f5529d240510dfdb09bb (patch) | |
| tree | 73b7856c7132f75954863d9c7421461af2eba51f /Makefile | |
| parent | 4faac32f3a6b1120bed7272bdea473da886a64d0 (diff) | |
| download | dhcpcd-98cc5e0b723fa5b40711f5529d240510dfdb09bb.tar.xz | |
Add the --small configure option which currently removes non essential options
from being parsed out into dhcpcd-run-hooks and removes support for
DHCPv6 Prefix Delegation.
This is mainly to build a tiny dhcpcd for install media size there are more
extreme space limitations.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -15,6 +15,7 @@ CSTD?= c99 CFLAGS+= -std=${CSTD} SRCS+= ${DHCPCD_SRCS} +DHCPCD_DEFS?= dhcpcd-definitions.conf SRCS+= auth.c CPPFLAGS+= -I./crypt @@ -85,10 +86,10 @@ dev: CLEANFILES+= dhcpcd-embedded.h dhcpcd-embedded.c -dhcpcd-embedded.h: genembedh dhcpcd-definitions.conf dhcpcd-embedded.h.in +dhcpcd-embedded.h: genembedh ${DHCPCD_DEFS} dhcpcd-embedded.h.in ${HOST_SH} ${.ALLSRC} $^ > $@ -dhcpcd-embedded.c: genembedc dhcpcd-definitions.conf dhcpcd-embedded.h +dhcpcd-embedded.c: genembedc ${DHCPCD_DEFS} dhcpcd-embedded.h ${HOST_SH} ${.ALLSRC} $^ > $@ if-options.c: dhcpcd-embedded.h @@ -104,9 +105,9 @@ ${PROG}: ${DEPEND} ${OBJS} test: cd $@; ${MAKE} $@; ./$@ -_embeddedinstall: dhcpcd-definitions.conf +_embeddedinstall: ${DHCPCD_DEFS} ${INSTALL} -d ${DESTDIR}${SCRIPTSDIR} - ${INSTALL} -m ${CONFMODE} dhcpcd-definitions.conf ${DESTDIR}${SCRIPTSDIR} + ${INSTALL} -m ${CONFMODE} ${DHCPCD_DEFS} ${DESTDIR}${SCRIPTSDIR} _proginstall: ${PROG} ${INSTALL} -d ${DESTDIR}${SBINDIR} |
