From c7bffc1d32e985a0663bce9ca9e13ee191962cf9 Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 7 Feb 2011 01:45:04 +0200 Subject: Add dsp-tools package [Peter: add tidsp-binaries dependency, cleanup] Signed-off-by: Felipe Contreras Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- package/Config.in | 1 + package/dsp-tools/Config.in | 8 ++++++++ package/dsp-tools/dsp-tools.mk | 18 ++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 package/dsp-tools/Config.in create mode 100644 package/dsp-tools/dsp-tools.mk diff --git a/package/Config.in b/package/Config.in index de51c467d..0899578eb 100644 --- a/package/Config.in +++ b/package/Config.in @@ -483,6 +483,7 @@ source "package/sysklogd/Config.in" source "package/sysvinit/Config.in" source "package/util-linux/Config.in" endif +source "package/dsp-tools/Config.in" endmenu menu "Text editors and viewers" diff --git a/package/dsp-tools/Config.in b/package/dsp-tools/Config.in new file mode 100644 index 000000000..0267454be --- /dev/null +++ b/package/dsp-tools/Config.in @@ -0,0 +1,8 @@ +config BR2_PACKAGE_DSP_TOOLS + bool "dsp-tools" + depends on BR2_cortex_a8 + select BR2_PACKAGE_TIDSP_BINARIES + help + Utilities for TI OMAP3 DSP. + + http://github.com/felipec/dsp-tools diff --git a/package/dsp-tools/dsp-tools.mk b/package/dsp-tools/dsp-tools.mk new file mode 100644 index 000000000..ab31afb74 --- /dev/null +++ b/package/dsp-tools/dsp-tools.mk @@ -0,0 +1,18 @@ +DSP_TOOLS_VERSION = 2.0 +DSP_TOOLS_SOURCE = dsp-tools-$(DSP_TOOLS_VERSION).tar.gz +DSP_TOOLS_SITE = http://gst-dsp.googlecode.com/files/ +DSP_TOOLS_DEPENDENCIES = tidsp-binaries + +define DSP_TOOLS_BUILD_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e +endef + +define DSP_TOOLS_INSTALL_TARGET_CMDS + $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install +endef + +define DSP_TOOLS_UNINSTALL_TARGET_CMDS + rm -f $(addprefix $(TARGET_DIR)/usr/bin/dsp-, load probe test exec) +endef + +$(eval $(call GENTARGETS,package,dsp-tools)) -- cgit v1.2.3