diff --git a/cross/transmission/Makefile b/cross/transmission/Makefile index 24a4df66457..13cdb4c1800 100644 --- a/cross/transmission/Makefile +++ b/cross/transmission/Makefile @@ -14,4 +14,13 @@ LICENSE = GPLv2/GPLv3 GNU_CONFIGURE = 1 CONFIGURE_ARGS = HAVE_CXX=yes --disable-nls --enable-daemon --enable-utp +ifeq ($(findstring $(ARCH), ppc824x ppc853x),$(ARCH)) +ifneq (5,$(firstword $(sort $(TCVERSION) 5))) +# toolchains before version 5 require the old linux quota version +# related issue: https://github.com/transmission/transmission/issues/591 +ADDITIONAL_CFLAGS = -D_LINUX_QUOTA_VERSION=1 +endif +endif + + include ../../mk/spksrc.cross-cc.mk diff --git a/spk/transmission/Makefile b/spk/transmission/Makefile index 4f9cf376982..93418e43916 100644 --- a/spk/transmission/Makefile +++ b/spk/transmission/Makefile @@ -33,8 +33,12 @@ POST_STRIP_TARGET = transmission_extra_install BUSYBOX_CONFIG = usrmng ENV += BUSYBOX_CONFIG="$(BUSYBOX_CONFIG)" +# build cross/curl without bundle of ca certificates (cert.pem) +export CURL_SKIP_CA_BUNDLE = true + include ../../mk/spksrc.spk.mk + .PHONY: transmission_extra_install transmission_extra_install: install -m 755 -d $(STAGING_DIR)/var diff --git a/toolchains/syno-ppc853x-4.2/Makefile b/toolchains/syno-ppc853x-4.2/Makefile new file mode 100644 index 00000000000..5fac3603f6a --- /dev/null +++ b/toolchains/syno-ppc853x-4.2/Makefile @@ -0,0 +1,21 @@ +TC_NAME = syno-$(TC_ARCH) + +TC_ARCH = ppc853x +TC_VERS = 4.2 +TC_FIRMWARE = 3.1-1594 + +TC_DIST = gcc343_glibc234_ppc853x-GPL +TC_EXT = tgz +TC_DIST_NAME = $(TC_DIST).$(TC_EXT) +TC_DIST_SITE = https://sourceforge.net/projects/dsgpl/files/DSM%204.2%20Tool%20Chains/PowerPC%20853x%20Linux%202.6.32 + +TC_BASE_DIR = powerpc-linux-gnuspe +TC_PREFIX = powerpc-linux-gnuspe +TC_TARGET = powerpc-unknown-linux + +TC_CFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/include -mcpu=8548 -mhard-float -mfloat-gprs=double +TC_CPPFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/include -mcpu=8548 -mhard-float -mfloat-gprs=double +TC_CXXFLAGS = -I$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/include -mcpu=8548 -mhard-float -mfloat-gprs=double +TC_LDFLAGS = -L$(WORK_DIR)/$(TC_BASE_DIR)/$(TC_BASE_DIR)/lib + +include ../../mk/spksrc.tc.mk diff --git a/toolchains/syno-ppc853x-4.2/digests b/toolchains/syno-ppc853x-4.2/digests new file mode 100644 index 00000000000..e411e906036 --- /dev/null +++ b/toolchains/syno-ppc853x-4.2/digests @@ -0,0 +1,3 @@ +gcc343_glibc234_ppc853x-GPL.tgz SHA1 ef5054f30d87a06ab287e86c5e2e123467073111 +gcc343_glibc234_ppc853x-GPL.tgz SHA256 eab4aebf489374abc3a5334c139b3cb97a238a4c2b2fb0db3cac66b668bc7103 +gcc343_glibc234_ppc853x-GPL.tgz MD5 1bcea0556c50a538e3142b9706c283b7