Use __MAKE_SHELL instead of HOST_SHELL when generating aton_ether_subr.c

(HOST_SHELL is used in NetBSD)

This fixes permission denied issues when gen_ether_subr is not executable

MFC after: 3 days
Reported by: José Pérez <fbl@aoek.com>
Suggested by: bdrewery, sjg
This commit is contained in:
Enji Cooper 2015-11-23 07:57:41 +00:00
parent 5e27d79314
commit 2b4bcea740

View File

@ -28,7 +28,7 @@ LDADD.h_nsd_recurse+= -lpthread
CLEANFILES+= aton_ether_subr.c
aton_ether_subr.c: gen_ether_subr ${SRCTOP}/sys/net/if_ethersubr.c
${HOST_SH} ${.ALLSRC} ${.TARGET}
${__MAKE_SHELL} ${.ALLSRC} ${.TARGET}
.include "../Makefile.netbsd-tests"