diff options
Diffstat (limited to 'meta/packages/gcc/gcc-common.inc')
| -rw-r--r-- | meta/packages/gcc/gcc-common.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-common.inc b/meta/packages/gcc/gcc-common.inc index ea0a48ea0c..1e9c65e662 100644 --- a/meta/packages/gcc/gcc-common.inc +++ b/meta/packages/gcc/gcc-common.inc | |||
| @@ -14,6 +14,11 @@ def get_gcc_fpu_setting(bb, d): | |||
| 14 | return "--with-float=soft" | 14 | return "--with-float=soft" |
| 15 | return "" | 15 | return "" |
| 16 | 16 | ||
| 17 | def get_gcc_mips_plt_setting(bb, d): | ||
| 18 | if bb.data.getVar('TARGET_ARCH', d, 1) in [ 'mips', 'mipsel' ] and 'mplt' in bb.data.getVar('DISTRO_FEATURES',d,1).split() : | ||
| 19 | return "--with-mips-plt" | ||
| 20 | return "" | ||
| 21 | |||
| 17 | # We really need HOST_SYS here for some packages and TARGET_SYS for others. | 22 | # We really need HOST_SYS here for some packages and TARGET_SYS for others. |
| 18 | # For now, libgcc is most important so we fix for that - RP. | 23 | # For now, libgcc is most important so we fix for that - RP. |
| 19 | SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs" | 24 | SHLIBSDIR = "${STAGING_DIR_TARGET}/shlibs" |
