kumquat-buildroot/package/trinity/trinity.mk
Vicente Olivert Riera 0f8cba1b5e trinity: Bump version to fix a PowerPC build failure
Some PowerPC toolchains have old Linux headers which don't define the
KVM_CREATE_SPAPR_TCE and KVM_ALLOCATE_RMA macros. To workaround this
problem we enclose the lines which use these macros into ifdef blocks.

This fix has been merged upstream so we bump the version to fix the
problem in Buildroot as well.

Fixes:
	http://autobuild.buildroot.net/results/3a4/3a4e7e6077cd4bbbcb8fe398e0938ad228306d2d/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-27 17:40:21 +01:00

36 lines
981 B
Makefile

################################################################################
#
# trinity
#
################################################################################
TRINITY_VERSION = 5d2dfe9727eb9c8dc44c31e95968e8d85284ffcc
TRINITY_SITE = $(call github,kernelslacker,trinity,$(TRINITY_VERSION))
TRINITY_LICENSE = GPLv2
TRINITY_LICENSE_FILES = COPYING
ifeq ($(BR2_INET_IPV6),)
TARGET_CONFIGURE_OPTS += IPV6=no
endif
define TRINITY_CONFIGURE_CMDS
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure.sh)
endef
define TRINITY_BUILD_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
endef
define TRINITY_INSTALL_TARGET_CMDS
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
endef
# Install helper scripts
define TRINITY_INSTALL_HELPER_SCRIPTS
mkdir -p $(TARGET_DIR)/usr/libexec/trinity
cp -p $(@D)/scripts/* $(TARGET_DIR)/usr/libexec/trinity/
endef
TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS
$(eval $(generic-package))