Skip to content

Commit

Permalink
package: jesd204b_status: Add JESD204B Status Monitoring Utility
Browse files Browse the repository at this point in the history
And enable it in our microblaze default configs.

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and commodo committed May 9, 2019
1 parent 529a433 commit 2d936c0
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions configs/microblaze_adi_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ BR2_TARGET_ROOTFS_CPIO_GZIP=y
BR2_TARGET_ROOTFS_INITRAMFS=y
# BR2_TARGET_ROOTFS_TAR is not set
BR2_PACKAGE_HOST_DROPBEAR=y
BR2_PACKAGE_JESD204B_STATUS=y
1 change: 1 addition & 0 deletions configs/microblaze_adi_rootfs_defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ BR2_PACKAGE_PHYTOOL=y
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y
BR2_PACKAGE_HOST_DROPBEAR=y
BR2_PACKAGE_JESD204B_STATUS=y
4 changes: 4 additions & 0 deletions package/Config.in
Original file line number Diff line number Diff line change
Expand Up @@ -2019,4 +2019,8 @@ menu "Applications and Tools for PlutoSDR, M2k & SidekiqZ2"
source "package/ad936x_ref_cal/Config.in"
endmenu

menu "Applications and Tools for the JESD204B Interface Framework"
source "package/jesd204b_status/Config.in"
endmenu

endmenu
6 changes: 6 additions & 0 deletions package/jesd204b_status/Config.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
config BR2_PACKAGE_JESD204B_STATUS
bool "JESD204B Status Monitoring Utility"
select BR2_PACKAGE_NCURSES
help
JESD204B Status Monitoring Utility
https://wiki.analog.com/resources/tools-software/linux-software/jesd_status
24 changes: 24 additions & 0 deletions package/jesd204b_status/jesd204b_status.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
################################################################################
#
# jesd204b_status
#
################################################################################


JESD204B_STATUS_VERSION = 45a0eb36c480f11bc0799991a6663d5ff8fb3936
JESD204B_STATUS_SITE = https://github.com/analogdevicesinc/jesd-eye-scan-gtk.git
JESD204B_STATUS_SITE_METHOD = git
JESD204B_STATUS_LICENSE = BSD
JESD204B_STATUS_LICENSE_FILES = LICENSE
JESD204B_STATUS_DEPENDENCIES = ncurses

define JESD204B_STATUS_BUILD_CMDS
$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS) \
$(@D)/jesd_status.c $(@D)/jesd_common.c -o $(@D)/jesd_status -lncurses
endef

define JESD204B_STATUS_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 755 $(@D)/jesd_status $(TARGET_DIR)/usr/sbin/jesd_status
endef

$(eval $(generic-package))

0 comments on commit 2d936c0

Please sign in to comment.