diff options
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-15.1.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb | 2 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-multilib-config.inc | 3 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-shared-source.inc | 4 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc-common.inc | 1 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/libgcc.inc | 1 |
9 files changed, 6 insertions, 13 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-15.1.inc b/meta/recipes-devtools/gcc/gcc-15.1.inc index 18f8cae5ca..af29db8e5b 100644 --- a/meta/recipes-devtools/gcc/gcc-15.1.inc +++ b/meta/recipes-devtools/gcc/gcc-15.1.inc | |||
@@ -75,7 +75,8 @@ SRC_URI = "${BASEURI} \ | |||
75 | file://0026-fix-incorrect-preprocessor-line-numbers.patch \ | 75 | file://0026-fix-incorrect-preprocessor-line-numbers.patch \ |
76 | " | 76 | " |
77 | 77 | ||
78 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${SOURCEDIR}" | 78 | UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources" |
79 | S = "${UNPACKDIR}/${SOURCEDIR}" | ||
79 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 80 | B = "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
80 | 81 | ||
81 | # Language Overrides | 82 | # Language Overrides |
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index de559eb9c3..8d95698743 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -104,7 +104,8 @@ MIRRORS =+ "\ | |||
104 | gcclibdir = "${libdir}/gcc" | 104 | gcclibdir = "${libdir}/gcc" |
105 | BINV = "${PV}" | 105 | BINV = "${PV}" |
106 | #S = "${WORKDIR}/gcc-${PV}" | 106 | #S = "${WORKDIR}/gcc-${PV}" |
107 | S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/gcc-${PV}" | 107 | UNPACKDIR = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/sources" |
108 | S = "${UNPACKDIR}/gcc-${PV}" | ||
108 | 109 | ||
109 | B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" | 110 | B ?= "${WORKDIR}/gcc-${PV}/build.${HOST_SYS}.${TARGET_SYS}" |
110 | 111 | ||
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index e3fb48c030..50ff0d2e82 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -116,6 +116,5 @@ do_configure () { | |||
116 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" | 116 | export CXXFLAGS_FOR_TARGET="${TARGET_CXXFLAGS}" |
117 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" | 117 | export LDFLAGS_FOR_TARGET="${TARGET_LDFLAGS}" |
118 | 118 | ||
119 | |||
120 | oe_runconf | 119 | oe_runconf |
121 | } | 120 | } |
diff --git a/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb b/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb index bf53c5cd78..355757c656 100644 --- a/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb +++ b/meta/recipes-devtools/gcc/gcc-cross-canadian_15.1.bb | |||
@@ -1,5 +1,3 @@ | |||
1 | require recipes-devtools/gcc/gcc-${PV}.inc | 1 | require recipes-devtools/gcc/gcc-${PV}.inc |
2 | require gcc-cross-canadian.inc | 2 | require gcc-cross-canadian.inc |
3 | 3 | ||
4 | |||
5 | |||
diff --git a/meta/recipes-devtools/gcc/gcc-cross.inc b/meta/recipes-devtools/gcc/gcc-cross.inc index 54a1d3d85c..80b85fb054 100644 --- a/meta/recipes-devtools/gcc/gcc-cross.inc +++ b/meta/recipes-devtools/gcc/gcc-cross.inc | |||
@@ -44,7 +44,6 @@ EXTRA_OECONF_PATHS = "\ | |||
44 | 44 | ||
45 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" | 45 | ARCH_FLAGS_FOR_TARGET += "-isystem${STAGING_DIR_TARGET}${target_includedir}" |
46 | 46 | ||
47 | |||
48 | do_configure:prepend () { | 47 | do_configure:prepend () { |
49 | install -d ${RECIPE_SYSROOT}${target_includedir} | 48 | install -d ${RECIPE_SYSROOT}${target_includedir} |
50 | touch ${RECIPE_SYSROOT}${target_includedir}/limits.h | 49 | touch ${RECIPE_SYSROOT}${target_includedir}/limits.h |
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc index 1a4169f91a..2afd8f6f2a 100644 --- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc +++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc | |||
@@ -59,7 +59,6 @@ python gcc_multilib_setup() { | |||
59 | if ('%sgcc' % mlprefix) != pn and (not pn.startswith('gcc-cross-canadian')) and pn != "nativesdk-gcc": | 59 | if ('%sgcc' % mlprefix) != pn and (not pn.startswith('gcc-cross-canadian')) and pn != "nativesdk-gcc": |
60 | return | 60 | return |
61 | 61 | ||
62 | |||
63 | def write_config(root, files, options, dirnames, osdirnames): | 62 | def write_config(root, files, options, dirnames, osdirnames): |
64 | for ml_conf_file in files: | 63 | for ml_conf_file in files: |
65 | with open(root + '/' + ml_conf_file, 'r') as f: | 64 | with open(root + '/' + ml_conf_file, 'r') as f: |
@@ -142,7 +141,6 @@ python gcc_multilib_setup() { | |||
142 | with open(root + '/' + ml_conf_file, 'w') as f: | 141 | with open(root + '/' + ml_conf_file, 'w') as f: |
143 | f.write(''.join(filelines)) | 142 | f.write(''.join(filelines)) |
144 | 143 | ||
145 | |||
146 | gcc_target_config_files = { | 144 | gcc_target_config_files = { |
147 | 'x86_64' : ['gcc/config/i386/t-linux64'], | 145 | 'x86_64' : ['gcc/config/i386/t-linux64'], |
148 | 'i586' : ['gcc/config/i386/t-linux64'], | 146 | 'i586' : ['gcc/config/i386/t-linux64'], |
@@ -176,7 +174,6 @@ python gcc_multilib_setup() { | |||
176 | libdirx32 = 'SYSTEMLIBS_DIR' | 174 | libdirx32 = 'SYSTEMLIBS_DIR' |
177 | libdirn32 = 'SYSTEMLIBS_DIR' | 175 | libdirn32 = 'SYSTEMLIBS_DIR' |
178 | 176 | ||
179 | |||
180 | target_arch = (d.getVar('TARGET_ARCH_MULTILIB_ORIGINAL') if mlprefix | 177 | target_arch = (d.getVar('TARGET_ARCH_MULTILIB_ORIGINAL') if mlprefix |
181 | else d.getVar('TARGET_ARCH')) | 178 | else d.getVar('TARGET_ARCH')) |
182 | if pn == "nativesdk-gcc": | 179 | if pn == "nativesdk-gcc": |
diff --git a/meta/recipes-devtools/gcc/gcc-shared-source.inc b/meta/recipes-devtools/gcc/gcc-shared-source.inc index 03f520b093..c01410b47a 100644 --- a/meta/recipes-devtools/gcc/gcc-shared-source.inc +++ b/meta/recipes-devtools/gcc/gcc-shared-source.inc | |||
@@ -16,6 +16,6 @@ do_deploy_source_date_epoch () { | |||
16 | sde_file=${SDE_FILE} | 16 | sde_file=${SDE_FILE} |
17 | sde_file=${sde_file#${WORKDIR}/} | 17 | sde_file=${sde_file#${WORKDIR}/} |
18 | mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE}) | 18 | mkdir -p ${SDE_DEPLOYDIR} $(dirname ${SDE_FILE}) |
19 | cp -p $(dirname ${S})/$sde_file ${SDE_DEPLOYDIR} | 19 | cp -p $(dirname ${UNPACKDIR})/$sde_file ${SDE_DEPLOYDIR} |
20 | cp -p $(dirname ${S})/$sde_file ${SDE_FILE} | 20 | cp -p $(dirname ${UNPACKDIR})/$sde_file ${SDE_FILE} |
21 | } | 21 | } |
diff --git a/meta/recipes-devtools/gcc/libgcc-common.inc b/meta/recipes-devtools/gcc/libgcc-common.inc index e3db17d700..65bcd24bc7 100644 --- a/meta/recipes-devtools/gcc/libgcc-common.inc +++ b/meta/recipes-devtools/gcc/libgcc-common.inc | |||
@@ -104,7 +104,6 @@ fakeroot python do_multilib_install() { | |||
104 | os.symlink(src, dest) | 104 | os.symlink(src, dest) |
105 | return | 105 | return |
106 | 106 | ||
107 | |||
108 | for ml in multilibs.split(): | 107 | for ml in multilibs.split(): |
109 | tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml) | 108 | tune = d.getVar('DEFAULTTUNE:virtclass-multilib-' + ml) |
110 | if not tune: | 109 | if not tune: |
diff --git a/meta/recipes-devtools/gcc/libgcc.inc b/meta/recipes-devtools/gcc/libgcc.inc index 9554475382..a3f0f947f7 100644 --- a/meta/recipes-devtools/gcc/libgcc.inc +++ b/meta/recipes-devtools/gcc/libgcc.inc | |||
@@ -36,7 +36,6 @@ LICENSE:${PN} = "GPL-3.0-with-GCC-exception" | |||
36 | LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception" | 36 | LICENSE:${PN}-dev = "GPL-3.0-with-GCC-exception" |
37 | LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception" | 37 | LICENSE:${PN}-dbg = "GPL-3.0-with-GCC-exception" |
38 | 38 | ||
39 | |||
40 | FILES:${PN}-dev = "\ | 39 | FILES:${PN}-dev = "\ |
41 | ${base_libdir}/libgcc*.so \ | 40 | ${base_libdir}/libgcc*.so \ |
42 | ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ | 41 | ${@oe.utils.conditional('BASETARGET_SYS', '${TARGET_SYS}', '', '${libdir}/${BASETARGET_SYS}', d)} \ |