aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/uarduno/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/comms/uarduno/Makefile b/comms/uarduno/Makefile
index fe1fbf3379e6..3f7b665d42fd 100644
--- a/comms/uarduno/Makefile
+++ b/comms/uarduno/Makefile
@@ -19,6 +19,8 @@ NO_PACKAGE= You must (re)build this port with your kernel source
MAKE_ENV+= KMODDIR=${KMODDIR}
LOCALBASE= ${KMODDIR}
+.include <bsd.port.pre.mk>
+
SRCPREFIX?= ${SRC_BASE}
# disable mtree or you'll get a /boot/kernel/... directory hierarchy put there
@@ -41,8 +43,6 @@ NO_LICENSES_DIALOGS= yes
#
CFLAGS+= -DKERNELVER=${OSVERSION}
-.include <bsd.port.pre.mk>
-
.if ${OSVERSION} < 800000
# Simple check for 7.x kernel source (find usb.c)
.if ! exists(${SRCPREFIX}/sys/dev/usb/usb.c)