diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2017-09-15 13:09:28 +0300 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2017-09-18 05:17:08 +0000 |
| commit | e934196ba459bdc350af29f2ddd7c7fd46e97675 (patch) | |
| tree | 61c8afbe30ff680853473b07a47fe75b7d2779ea /recipes | |
| parent | 3008356286e02b5c71fd1904990f3e81443b52b8 (diff) | |
| download | meta-boot2qt-e934196ba459bdc350af29f2ddd7c7fd46e97675.tar.gz | |
fix binutils-cross rebuild issue with mingw
Upstream poky recipe incorrectly empties LDGOLD value for binutils-cross
based on the sdkmingw32 override. This causes all the target packages to
be build twice: first when SDKMACHINE is empty, and second when time
when SDKMACHINE is set to mingw32.
The actual value use here must be exactly what is used in
meta/recipes-devtools/binutils/binutils.inc
Change-Id: Id6107bae78cf57669b04cea6467dcf11d1f5c913
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'recipes')
| -rw-r--r-- | recipes/binutils/binutils-cross_%.bbappend | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/binutils/binutils-cross_%.bbappend b/recipes/binutils/binutils-cross_%.bbappend new file mode 100644 index 0000000..8a069ed --- /dev/null +++ b/recipes/binutils/binutils-cross_%.bbappend | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2017 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}" | ||
