summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/linaro-link-path-fixed.patch13
-rwxr-xr-xconf/set_bb_env.sh5
2 files changed, 18 insertions, 0 deletions
diff --git a/conf/linaro-link-path-fixed.patch b/conf/linaro-link-path-fixed.patch
new file mode 100644
index 0000000..71b97ae
--- /dev/null
+++ b/conf/linaro-link-path-fixed.patch
@@ -0,0 +1,13 @@
+diff --git a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24.inc b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24.inc
+index 81966f0..2ec92f0 100644
+--- a/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24.inc
++++ b/meta-linaro-toolchain/recipes-devtools/binutils/binutils-linaro-2.24.inc
+@@ -17,7 +17,7 @@ LIC_FILES_CHKSUM="\
+ "
+
+ SRC_URI = "\
+- https://releases.linaro.org/${MMYY}/components/toolchain/binutils-linaro/binutils-linaro-${BPV}-${RELEASE}.tar.xz \
++ https://releases.linaro.org/archive/${MMYY}/components/toolchain/binutils-linaro/binutils-linaro-${BPV}-${RELEASE}.tar.xz \
+ file://binutils-uclibc-100-uclibc-conf.patch \
+ file://binutils-uclibc-300-001_ld_makefile_patch.patch \
+ file://binutils-uclibc-300-006_better_file_error.patch \
diff --git a/conf/set_bb_env.sh b/conf/set_bb_env.sh
index 14fbd81..2711ad5 100755
--- a/conf/set_bb_env.sh
+++ b/conf/set_bb_env.sh
@@ -29,6 +29,11 @@ fi
. ${WS}/oe-core/meta-qti/recipes-extended/qrl-version/files/qrl-version.inc
+if [[ -f ${WS}/oe-core/$scriptdir/linaro-link-path-fixed.patch && ! -f ${WS}/oe-core/$scriptdir/linaro-link-path-fixed-patch-applied.txt ]]
+ then
+ git apply -p1 --directory=${WS}/oe-core/meta-linaro ${WS}/oe-core/$scriptdir/linaro-link-path-fixed.patch && echo "Patch for linaro link path fixed applied" > ${WS}/oe-core/$scriptdir/linaro-link-path-fixed-patch-applied.txt
+fi
+
################################################################################
## configureBuildVersion
## Configure a build version