diff options
Diffstat (limited to 'import-layers/yocto-poky/meta/recipes-devtools/ccache')
3 files changed, 60 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache.inc b/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache.inc new file mode 100644 index 000000000..69aa64e5e --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache.inc @@ -0,0 +1,18 @@ +SUMMARY = "a fast C/C++ compiler cache" +DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \ +by caching the result of previous compilations and detecting when the \ +same compilation is being done again. Supported languages are C, C\+\+, \ +Objective-C and Objective-C++." +HOMEPAGE = "http://ccache.samba.org" +SECTION = "devel" +LICENSE = "GPLv3+" + +DEPENDS = "zlib" + +SRC_URI = "git://git.samba.org/ccache.git" + +S = "${WORKDIR}/git" + +inherit autotools + +BBCLASSEXTEND = "native" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache_3.2.4.bb b/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache_3.2.4.bb new file mode 100644 index 000000000..fd45e4160 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-devtools/ccache/ccache_3.2.4.bb @@ -0,0 +1,10 @@ +require ccache.inc + +LICENSE = "GPLv3+" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=b3c337e7664559a789d9f7a93e5283c1" + +SRCREV = "2254797f1c5cfb83c4272da7b138f7f47218eb7d" + +SRC_URI += " \ + file://0002-dev.mk.in-fix-file-name-too-long.patch \ +" diff --git a/import-layers/yocto-poky/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch b/import-layers/yocto-poky/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch new file mode 100644 index 000000000..837cfadf6 --- /dev/null +++ b/import-layers/yocto-poky/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch @@ -0,0 +1,32 @@ +From 71bd0082c6edcf73f054a8a4fa34bd8dd4de7cd7 Mon Sep 17 00:00:00 2001 +From: Robert Yang <liezhi.yang@windriver.com> +Date: Wed, 16 Sep 2015 19:45:40 -0700 +Subject: [PATCH] dev.mk.in: fix file name too long + +The all_cppflags change paths to filename which cause file name too long +error when the path is longer than NAME_MAX (usually 255). Strip srcdir +to fix the problem. + +Upstream-Status: Pending + +Signed-off-by: Robert Yang <liezhi.yang@windriver.com> +--- + dev.mk.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/dev.mk.in b/dev.mk.in +index 1261ad3..ec55ac4 100644 +--- a/dev.mk.in ++++ b/dev.mk.in +@@ -1,7 +1,7 @@ + # GNU make syntax reigns in this file. + + all_cflags += -Werror +-all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d ++all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d + + ASCIIDOC = asciidoc + GPERF = gperf +-- +1.7.9.5 + |