There is no benefit in using the shortened git revision hash. On the contrary: the shorter the hash, the higher the risk of having collisions with another commit. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Samuel Martin <s.martin49@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
824 B
Makefile
31 lines
824 B
Makefile
################################################################################
|
|
#
|
|
# mtdev2tuio
|
|
#
|
|
################################################################################
|
|
|
|
MTDEV2TUIO_VERSION = e1e7378d86abe751158e743586133022f32fa4d1
|
|
MTDEV2TUIO_SITE = http://github.com/olivopaolo/mtdev2tuio/tarball/$(MTDEV2TUIO_VERSION)
|
|
MTDEV2TUIO_DEPENDENCIES = mtdev liblo
|
|
MTDEV2TUIO_LICENSE = GPLv3+
|
|
MTDEV2TUIO_LICENSE_FILES = COPYING
|
|
|
|
# mtdev2tuio Makefile misuses $(LD) as gcc, so we need to override LD
|
|
# here.
|
|
define MTDEV2TUIO_BUILD_CMDS
|
|
$(MAKE) \
|
|
$(TARGET_CONFIGURE_OPTS) \
|
|
LD="$(TARGET_CC)" \
|
|
-C $(@D)
|
|
endef
|
|
|
|
define MTDEV2TUIO_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/mtdev2tuio $(TARGET_DIR)/usr/bin/mtdev2tuio
|
|
endef
|
|
|
|
define MTDEV2TUIO_CLEAN_CMDS
|
|
$(MAKE) -C $(@D) clean
|
|
endef
|
|
|
|
$(eval $(generic-package))
|