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>
20 lines
509 B
Makefile
20 lines
509 B
Makefile
GST_OMAPFB_VERSION=1.0
|
|
GST_OMAPFB_SOURCE=gst-omapfb-$(GST_OMAPFB_VERSION).tar.gz
|
|
GST_OMAPFB_SITE=http://gst-dsp.googlecode.com/files/
|
|
|
|
define GST_OMAPFB_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e
|
|
endef
|
|
|
|
define GST_OMAPFB_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) -e DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
define GST_OMAPFB_UNINSTALL_TARGET_CMDS
|
|
$(RM) $(TARGET_DIR)/usr/lib/gstreamer-0.10/libgstomapfb.so
|
|
endef
|
|
|
|
GST_OMAPFB_DEPENDENCIES = gstreamer
|
|
|
|
$(eval $(call GENTARGETS))
|