summaryrefslogtreecommitdiff
path: root/ham/usrp/Makefile
blob: 238a68cf1a1176f9ff346063c6a30404a090f202 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.22 2013/02/15 11:54:00 obache Exp $

PKGNAME=	usrp-${VERSION}
PKGREVISION=	8
COMMENT=	Non GNU Radio specific part of the USRP code base

.include "../../meta-pkgs/gnuradio/Makefile.common"

CONFIGURE_ARGS+=	--enable-usrp
CONFIGURE_ARGS+=--with-gnuradio-core --with-omnithread --with-gruel

BUILD_DEPENDS+=	sdcc>=2.4.0:../../devel/sdcc

PYTHON_PATCH_SCRIPTS+=	usrp/firmware/include/generate_regs.py
PYTHON_PATCH_SCRIPTS+=	usrp/firmware/src/common/edit-gpif
PYTHON_PATCH_SCRIPTS+=	usrp/firmware/src/common/build_eeprom.py
PYTHON_PATCH_SCRIPTS+=	usrp/firmware/src/usrp2/edit-gpif
PYTHON_PATCH_SCRIPTS+=	usrp/host/lib/check_data.py
PYTHON_PATCH_SCRIPTS+=	usrp/host/lib/dump_data.py
PYTHON_PATCH_SCRIPTS+=	usrp/host/lib/gen_usrp_dbid.py
PYTHON_PATCH_SCRIPTS+=	usrp/host/lib/usrp_dbid.py

.include "../../ham/gnuradio-core/buildlink3.mk"
.include "../../devel/libusb/buildlink3.mk"
.include "../../lang/guile/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"