diff options
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/gcc/gcc-source.inc | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 0f70be7dd4..2abc0e355d 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
| @@ -96,7 +96,7 @@ BINV = "${PV}" | |||
| 96 | #S = "${WORKDIR}/gcc-${PV}" | 96 | #S = "${WORKDIR}/gcc-${PV}" |
| 97 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 97 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" |
| 98 | 98 | ||
| 99 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 99 | B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
| 100 | 100 | ||
| 101 | target_includedir ?= "${includedir}" | 101 | target_includedir ?= "${includedir}" |
| 102 | target_libdir ?= "${libdir}" | 102 | target_libdir ?= "${libdir}" |
diff --git a/meta/recipes-devtools/gcc/gcc-source.inc b/meta/recipes-devtools/gcc/gcc-source.inc index 03bab97815..224b7778ef 100644 --- a/meta/recipes-devtools/gcc/gcc-source.inc +++ b/meta/recipes-devtools/gcc/gcc-source.inc | |||
| @@ -18,6 +18,7 @@ INHIBIT_DEFAULT_DEPS = "1" | |||
| 18 | DEPENDS = "" | 18 | DEPENDS = "" |
| 19 | PACKAGES = "" | 19 | PACKAGES = "" |
| 20 | 20 | ||
| 21 | B = "${WORKDIR}/build" | ||
| 21 | 22 | ||
| 22 | # This needs to be Python to avoid lots of shell variables becoming dependencies. | 23 | # This needs to be Python to avoid lots of shell variables becoming dependencies. |
| 23 | python do_preconfigure () { | 24 | python do_preconfigure () { |
