From 3b8cd1db0d388e50c010899352f641d66e73279c Mon Sep 17 00:00:00 2001 From: Juro Bystricky Date: Mon, 14 Mar 2016 14:29:11 -0700 Subject: ncurses_6: Improve installation As "install.libs" also installs header files, it is redundant to also call "install.includes". In fact, doing so can lead to a race, as both targets could try to install the header files at the same time if running parallel make. Obviously, with only calling "install.libs", there is no race with "install.includes". If there is no race, then the patch fix-include-files-race.patch is no longer needed. (From OE-Core rev: 8df2060a323acf2a2cc2bc4076623463039c46a6) Signed-off-by: Juro Bystricky Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../ncurses/files/fix-include-files-race.patch | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 meta/recipes-core/ncurses/files/fix-include-files-race.patch (limited to 'meta/recipes-core/ncurses/files/fix-include-files-race.patch') diff --git a/meta/recipes-core/ncurses/files/fix-include-files-race.patch b/meta/recipes-core/ncurses/files/fix-include-files-race.patch deleted file mode 100644 index 6f22e98332..0000000000 --- a/meta/recipes-core/ncurses/files/fix-include-files-race.patch +++ /dev/null @@ -1,32 +0,0 @@ -There is a race condition when running - - $ make install.libs install.includes - -As both targets install identical files. The remedy is to either prevent -parallel make of install.libs and install.includes, or ensure only one -target installs the files. -The second approch will only work if we always install both libs and -includes (which we do). - - -Upstream-Status: Inappropriate [configuration] - -Index: git/mk-hdr.awk -=================================================================== ---- a/mk-hdr.awk -+++ b/mk-hdr.awk -@@ -73,11 +73,13 @@ BEGIN { - END { - if ( count > 0 ) - { -+ print" # patched here: Removed install.libs due the race " - print "${INCLUDEDIR} :" - print " mkdir -p $@" - print "" -+ print "install.libs :: ;" -+ print "" - print "install \\" -- print "install.libs \\" - print "install.includes :: ${AUTO_SRC} ${INCLUDEDIR} \\" - - for (i = 0; i < count - 1; ++i) { -- cgit v1.2.3-54-g00ecf