mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 14:33:29 +08:00
0849e8193e
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
19 lines
519 B
Makefile
19 lines
519 B
Makefile
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))
|