diff options
-rw-r--r-- | meta/recipes-devtools/ccache/ccache_3.5.bb | 11 | ||||
-rw-r--r-- | meta/recipes-devtools/ccache/ccache_3.6.bb | 11 | ||||
-rw-r--r-- | meta/recipes-devtools/ccache/files/0002-dev.mk.in-fix-file-name-too-long.patch | 8 |
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 @@ | |||
1 | require ccache.inc | ||
2 | |||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=39f34d6ff4df51ed718fd7d243fc4e51" | ||
5 | |||
6 | SRC_URI[md5sum] = "6e62bf2fd2c8fdc749efdca74868da41" | ||
7 | SRC_URI[sha256sum] = "8094f9bc186be4c9db9b480eeac280926bd44039502d1e596f45371b05a85918" | ||
8 | |||
9 | SRC_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 @@ | |||
1 | require ccache.inc | ||
2 | |||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=70762511f9c509cc2a4e4ba2ef687ae3" | ||
5 | |||
6 | SRC_URI[md5sum] = "bd6fd69db28426baf22ec0acdd5c4b2a" | ||
7 | SRC_URI[sha256sum] = "a3f2b91a2353b65a863c5901251efe48060ecdebec46b5eaec8ea8e092b9e871" | ||
8 | |||
9 | SRC_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 @@ | |||
1 | From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001 | 1 | From 7dab2995ed8eeccd7b0acd79668bc28f3a2427d5 Mon Sep 17 00:00:00 2001 |
2 | From: Robert Yang <liezhi.yang@windriver.com> | 2 | From: Robert Yang <liezhi.yang@windriver.com> |
3 | Date: Wed, 16 Sep 2015 19:45:40 -0700 | 3 | Date: Wed, 16 Sep 2015 19:45:40 -0700 |
4 | Subject: [PATCH] dev.mk.in: fix file name too long | 4 | Subject: [PATCH] dev.mk.in: fix file name too long error |
5 | 5 | ||
6 | The all_cppflags change paths to filename which cause file name too long | 6 | The all_cppflags changes path to filename which causes file name too long |
7 | error when the path is longer than NAME_MAX (usually 255). Strip srcdir | 7 | error when the path is longer than NAME_MAX (usually 255). Strip srcdir |
8 | to fix the problem. | 8 | to fix the problem. |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Backport [https://github.com/ccache/ccache/commit/4d86e884d07ba1853a0c70507cc4d04107f57c29] |
11 | 11 | ||
12 | Signed-off-by: Robert Yang <liezhi.yang@windriver.com> | 12 | Signed-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 | ||