DESCRIPTION = "test and debugging tools" LICENSE = "MIT" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup #the following builds cross gdb and gdbserver #DEPENDS += "gdb-cross-${TARGET_ARCH}" # note: we could also use packagegroup-core-tools-debug # but this would install a full fledged gbd on target # maybe perl comes also in as a dependency for mtrace # and that's not what we want ALSA_RDEPENDS = "\ alsa-utils-alsabat \ alsa-utils-speakertest \ " RDEPENDS:${PN} = "\ ${@bb.utils.contains('COMBINED_FEATURES', 'alsa', ' ${ALSA_RDEPENDS}', '', d)} \ atop \ dool \ evtest \ gdbserver \ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ' glmark2', '', d)} \ htop \ iotop \ libiio-tests \ mc \ memtester \ nano \ strace \ stressapptest \ stress-ng \ " # # although we should use openssh, prepare to use the packagegroup with dropbear # sftp is needed for IDE like QtCreator # lscpu is also good to have for testing # RRECOMMENDS:${PN} = "\ openssh-sftp-server \ ${VIRTUAL-RUNTIME_base-utils-lscpu} \ " DISPLAY_RRECOMMENDS = "\ fb-test \ libdrm-tests \ " RRECOMMENDS:${PN} += "\ ${@bb.utils.contains('MACHINE_FEATURES', 'screen', '${DISPLAY_RRECOMMENDS}', '', d)} \ " # Note: kmscube is only available if we have opengl and if virtual/libgbm # is built. Since this is at least not the case for TQMa6x with vendor graphic # stack we need this ugly construct # Currently only kmscube needs to be handled python () { opengl_rrecommends = '' if bb.utils.contains('DISTRO_FEATURES', 'opengl', True, False, d): provider_libgbm = d.getVar('PREFERRED_PROVIDER_virtual/libgbm') or None if provider_libgbm: bb.note("opengl and libgbm provided: adding kmscube") opengl_rrecommends += 'kmscube' else: bb.note("opengl but no libgbm provider") else: bb.note("no opengl and no libgbm") d.setVar('OPENGL_RRECOMMENDS', opengl_rrecommends) } RRECOMMENDS:${PN} += "${OPENGL_RRECOMMENDS}"