diff options
-rw-r--r-- | comms/usrp/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/comms/usrp/Makefile b/comms/usrp/Makefile index aeb4a050ab79..6e3ffa80a61b 100644 --- a/comms/usrp/Makefile +++ b/comms/usrp/Makefile @@ -64,17 +64,17 @@ PLIST_SUB+= PUSRP2="@comment " do-build: # build host component - (export PATH=${LOCALBASE}/zpu/bin:${PATH};cd ${CONFIGURE_WRKSRC}&&${GMAKE}) + (export PATH=${LOCALBASE}/zpu/bin:${PATH};cd ${CONFIGURE_WRKSRC}&& ${SETENV} ${MAKE_ENV} ${MAKE_CMD}) # build usrp firmware # (export PATH=${LOCALBASE}/zpu/bin:${PATH};\ -# cd ${WRKSRC}/images && ${GMAKE} -f Makefile images) +# cd ${WRKSRC}/images && ${MAKE_CMD} -f Makefile images) .if USRP1 - (cd ${WRKSRC}/images && ${GMAKE} -f Makefile images_usrp1) + (cd ${WRKSRC}/images && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile images_usrp1) .endif .if USRP2 (export PATH=${LOCALBASE}/zpu/bin:${PATH};\ - cd ${WRKSRC}/images && ${GMAKE} -f Makefile images_usrp2) + cd ${WRKSRC}/images && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} -f Makefile images_usrp2) .endif do-install: |