summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/ccache/ccache_3.5.bb11
-rw-r--r--meta/recipes-devtools/ccache/ccache_3.6.bb11
-rw-r--r--meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch8
3 files changed, 15 insertions, 15 deletions
diff --git a/meta/recipes-devtools/ccache/ccache_3.5.bb b/meta/recipes-devtools/ccache/ccache_3.5.bb
deleted file mode 100644
index 89062c40b1..0000000000
--- a/meta/recipes-devtools/ccache/ccache_3.5.bb
+++ /dev/null
@@ -1,11 +0,0 @@
1require ccache.inc
2
3LICENSE = "GPLv3+"
4LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=39f34d6ff4df51ed718fd7d243fc4e51"
5
6SRC_URI[md5sum] = "6e62bf2fd2c8fdc749efdca74868da41"
7SRC_URI[sha256sum] = "8094f9bc186be4c9db9b480eeac280926bd44039502d1e596f45371b05a85918"
8
9SRC_URI += " \
10 file://0002-dev.mk.in-fix-file-name-too-long.patch \
11"
diff --git a/meta/recipes-devtools/ccache/ccache_3.6.bb b/meta/recipes-devtools/ccache/ccache_3.6.bb
new file mode 100644
index 0000000000..a12306e9a5
--- /dev/null
+++ b/meta/recipes-devtools/ccache/ccache_3.6.bb
@@ -0,0 +1,11 @@
1require ccache.inc
2
3LICENSE = "GPLv3+"
4LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=70762511f9c509cc2a4e4ba2ef687ae3"
5
6SRC_URI[md5sum] = "bd6fd69db28426baf22ec0acdd5c4b2a"
7SRC_URI[sha256sum] = "a3f2b91a2353b65a863c5901251efe48060ecdebec46b5eaec8ea8e092b9e871"
8
9SRC_URI += " \
10 file://0002-dev.mk.in-fix-file-name-too-long.patch \
11"
diff --git a/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch b/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
index 68c2371fb3..16a6e9d80f 100644
--- a/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
+++ b/meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch
@@ -1,13 +1,13 @@
1From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001 1From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001
2From: Robert Yang <liezhi.yang@windriver.com> 2From: Robert Yang <liezhi.yang@windriver.com>
3Date: Wed, 16 Sep 2015 19:45:40 -0700 3Date: Wed, 16 Sep 2015 19:45:40 -0700
4Subject: [PATCH] dev.mk.in: fix file name too long 4Subject: [PATCH] dev.mk.in: fix file name too long error
5 5
6The all_cppflags change paths to filename which cause file name too long 6The all_cppflags changes path to filename which causes file name too long
7error when the path is longer than NAME_MAX (usually 255). Strip srcdir 7error when the path is longer than NAME_MAX (usually 255). Strip srcdir
8to fix the problem. 8to fix the problem.
9 9
10Upstream-Status: Pending 10Upstream-Status: Backport [https://github.com/ccache/ccache/commit/4d86e884d07ba1853a0c70507cc4d04107f57c29]
11 11
12Signed-off-by: Robert Yang <liezhi.yang@windriver.com> 12Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
13 13
@@ -22,7 +22,7 @@ index 91b0a57..583ade0 100644
22@@ -1,7 +1,7 @@ 22@@ -1,7 +1,7 @@
23 # GNU make syntax reigns in this file. 23 # GNU make syntax reigns in this file.
24 24
25 all_cflags += -Werror 25 all_cflags += -Werror @more_warnings@
26-all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d 26-all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$<)).d
27+all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d 27+all_cppflags += -MD -MP -MF .deps/$(subst .._,,$(subst /,_,$(subst $(srcdir)/,,$<))).d
28 28