diff options
author | Ross Burton <ross.burton@intel.com> | 2019-09-20 12:28:03 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-09-27 13:02:16 +0100 |
commit | 4503c1c411ca0739fd3f9c19b9da9788a7e9eaf9 (patch) | |
tree | 0cca9973d509625f23fefb6809a621ac96fe120b /meta/recipes-devtools/distcc/files/separatebuilddir.patch | |
parent | 56da8174e7cf1de7c17cfb7b3d62ec36841f5520 (diff) | |
download | poky-4503c1c411ca0739fd3f9c19b9da9788a7e9eaf9.tar.gz |
distcc: clean up the UI install logic
Remove the local copy of the desktop file, instead apply a patch from upstream
to fix the file. This also fixes the install paths, so update the recipe.
Remove glibc-specific installation as this was due to uclibc failures.
Refresh and submit upstream the out-of-tree build fix.
(From OE-Core rev: f69cb86f4c15497c6324a0e8063f86cc31cfe7aa)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/distcc/files/separatebuilddir.patch')
-rw-r--r-- | meta/recipes-devtools/distcc/files/separatebuilddir.patch | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/meta/recipes-devtools/distcc/files/separatebuilddir.patch b/meta/recipes-devtools/distcc/files/separatebuilddir.patch index 7580b5584b..c8da9d51c3 100644 --- a/meta/recipes-devtools/distcc/files/separatebuilddir.patch +++ b/meta/recipes-devtools/distcc/files/separatebuilddir.patch | |||
@@ -1,21 +1,33 @@ | |||
1 | When building with a separate build directory, make install fails, | 1 | Upstream-Status: Backport [https://github.com/distcc/distcc/pull/363] |
2 | unable to find the gnome_data files. This patch corrects the | 2 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
3 | patch and ensures the build works in this case. | ||
4 | 3 | ||
5 | RP 2013/3/8 | 4 | From 469628ee8dc90c7162d1a850c0b179b7349f9cf3 Mon Sep 17 00:00:00 2001 |
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Tue, 17 Sep 2019 13:04:22 +0100 | ||
7 | Subject: [PATCH] Makefile.in: fix out-of-tree builds when the GNOME UI is | ||
8 | enabled | ||
6 | 9 | ||
7 | Upstream-Status: Pending | 10 | The install command doesn't use $(srcdir) so out-of-tree builds fail. |
8 | 11 | ||
9 | Index: git/Makefile.in | 12 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
10 | =================================================================== | 13 | --- |
11 | --- git.orig/Makefile.in | 14 | Makefile.in | 4 ++-- |
12 | +++ git/Makefile.in | 15 | 1 file changed, 2 insertions(+), 2 deletions(-) |
13 | @@ -1117,7 +1117,7 @@ install-example: $(example_DOCS) | 16 | |
17 | diff --git a/Makefile.in b/Makefile.in | ||
18 | index 123054f..b9ce974 100644 | ||
19 | --- a/Makefile.in | ||
20 | +++ b/Makefile.in | ||
21 | @@ -1130,8 +1130,8 @@ install-example: $(example_DOCS) | ||
14 | install-gnome-data: $(gnome_data) | 22 | install-gnome-data: $(gnome_data) |
15 | $(mkinstalldirs) "$(DESTDIR)$(pkgdatadir)" | 23 | $(mkinstalldirs) "$(DESTDIR)$(icondir)" |
16 | for p in $(gnome_data); do \ | 24 | $(mkinstalldirs) "$(DESTDIR)$(desktopdir)" |
17 | - $(INSTALL_DATA) "$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | 25 | - $(INSTALL_DATA) gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)" |
18 | + $(INSTALL_DATA) "$(srcdir)/$$p" "$(DESTDIR)$(pkgdatadir)" || exit 1; \ | 26 | - $(INSTALL_DATA) gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)" |
19 | done | 27 | + $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.png "$(DESTDIR)$(icondir)" |
28 | + $(INSTALL_DATA) $(srcdir)/gnome/distccmon-gnome.desktop "$(DESTDIR)$(desktopdir)" | ||
20 | 29 | ||
21 | install-conf: $(conf_files) $(default_files) | 30 | install-conf: $(conf_files) $(default_files) |
31 | $(mkinstalldirs) "$(DESTDIR)$(sysconfdir)/distcc" | ||
32 | -- | ||
33 | 2.20.1 | ||