laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/41071?usp=email )
Change subject: debian: add osmocom-bb-{gprsdecode,osmocon} packages ......................................................................
debian: add osmocom-bb-{gprsdecode,osmocon} packages
Change-Id: Ia96c418a610863b5d9d0fc10c6d78b80163dc651 Related: OS#6851 --- M debian/control A debian/osmocom-bb-gprsdecode.install A debian/osmocom-bb-osmocon.install M debian/rules 4 files changed, 22 insertions(+), 3 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified
diff --git a/debian/control b/debian/control index c746022..9c0bfcf 100644 --- a/debian/control +++ b/debian/control @@ -22,12 +22,24 @@ Vcs-Git: https://gerrit.osmocom.org/osmocom-bb Homepage: https://osmocom.org/projects/baseband/wiki
+Package: osmocom-bb-gprsdecode +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: GPRS burst capture decoding utility + Package: osmocom-bb-layer23 Architecture: any Multi-Arch: foreign Depends: ${misc:Depends}, ${shlibs:Depends} Description: MS-side implementation of L2 and L3 GSM protocols
+Package: osmocom-bb-osmocon +Architecture: any +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Firmware loading and communication utility + Package: osmocom-bb-trx-toolkit Architecture: any Multi-Arch: foreign diff --git a/debian/osmocom-bb-gprsdecode.install b/debian/osmocom-bb-gprsdecode.install new file mode 100644 index 0000000..85f3263 --- /dev/null +++ b/debian/osmocom-bb-gprsdecode.install @@ -0,0 +1 @@ +gprsdecode/usr/local/bin/gprsdecode usr/bin diff --git a/debian/osmocom-bb-osmocon.install b/debian/osmocom-bb-osmocon.install new file mode 100644 index 0000000..5aea93d --- /dev/null +++ b/debian/osmocom-bb-osmocon.install @@ -0,0 +1,2 @@ +osmocon/usr/local/sbin/osmocon usr/bin +osmocon/usr/local/sbin/osmoload usr/bin diff --git a/debian/rules b/debian/rules index ea20439..f9c7529 100755 --- a/debian/rules +++ b/debian/rules @@ -5,11 +5,15 @@
override_dh_auto_build: $(MAKE) -C src layer23 HOST_CONFARGS="--with-gapk-io" - $(MAKE) -C src trxcon - $(MAKE) -C src virtphy + $(MAKE) -C src osmocon trxcon virtphy + $(MAKE) -C src gprsdecode
# Installs a sub-project from src/host/ to its own DESTDIR install-%: src/host/% $(MAKE) -C "$^" DESTDIR="$(CURDIR)/debian/tmp/$*" install
-override_dh_auto_install: install-layer23 install-trxcon install-virt_phy +override_dh_auto_install: install-layer23 \ + install-osmocon \ + install-trxcon \ + install-virt_phy \ + install-gprsdecode