* [Patch v2 01/14] arch-mips: Add o32 in TUNE_FEATURES for MIPS32R6
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 02/14] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication Zubair Lutfullah Kakakhel
` (13 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
mips32r6 tunings should have o32 ABI flag in TUNE_FEATURES
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
Applies to Morty as well
---
meta/conf/machine/include/tune-mips32r6.inc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/meta/conf/machine/include/tune-mips32r6.inc b/meta/conf/machine/include/tune-mips32r6.inc
index 4721319..dea33ea 100644
--- a/meta/conf/machine/include/tune-mips32r6.inc
+++ b/meta/conf/machine/include/tune-mips32r6.inc
@@ -9,21 +9,21 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', ' -march=mi
# Base Tunes
AVAILTUNES += "mipsisa32r6 mipsisa32r6el"
-TUNE_FEATURES_tune-mipsisa32r6 = "bigendian mipsisa32r6 fpu-hard r6"
+TUNE_FEATURES_tune-mipsisa32r6 = "o32 bigendian mipsisa32r6 fpu-hard r6"
MIPSPKGSFX_VARIANT_tune-mipsisa32r6 = "${TUNE_ARCH}"
PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6 = "mipsisa32r6"
-TUNE_FEATURES_tune-mipsisa32r6el = "fpu-hard mipsisa32r6 r6"
+TUNE_FEATURES_tune-mipsisa32r6el = "o32 fpu-hard mipsisa32r6 r6"
MIPSPKGSFX_VARIANT_tune-mipsisa32r6el = "${TUNE_ARCH}"
PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6el = "mipsisa32r6el"
# Soft Float
AVAILTUNES += "mipsisa32r6-nf mipsisa32r6el-nf"
-TUNE_FEATURES_tune-mipsisa32r6-nf = "bigendian mipsisa32r6 r6"
+TUNE_FEATURES_tune-mipsisa32r6-nf = "o32 bigendian mipsisa32r6 r6"
MIPSPKGSFX_VARIANT_tune-mipsisa32r6-nf = "${TUNE_ARCH}"
PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6-nf = "mipsisa32r6-nf"
-TUNE_FEATURES_tune-mipsisa32r6el-nf = "mipsisa32r6 r6"
+TUNE_FEATURES_tune-mipsisa32r6el-nf = "o32 mipsisa32r6 r6"
MIPSPKGSFX_VARIANT_tune-mipsisa32r6el-nf = "${TUNE_ARCH}"
PACKAGE_EXTRA_ARCHS_tune-mipsisa32r6el-nf = "mipsisa32r6el-nf"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 02/14] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 01/14] arch-mips: Add o32 in TUNE_FEATURES for MIPS32R6 Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 03/14] bitbake.conf: Reduce duplication in MIPS variants Zubair Lutfullah Kakakhel
` (12 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
In some cases, each MIPS variant in a recipe requires a duplicate
line. Even if the passed flag is the same.
Add global MACHINEOVERRIDES variables for the following
* mipsarch : All MIPS
* mipsarch{eb,el} : All MIPS Big/Little Endian
* mipsarchr6 : All MIPS R6
* mipsarcho32 : All MIPS o32 Endian Independent
* mipsarchn32 : All MIPS n32 Endian Independent
* mipsarchn64 : All MIPS n64 Endian Independent
* mipsarcho32{eb,el} : All MIPS o32 Big/Little Endian
* mipsarchn32{eb,el} : All MIPS n32 Big/Little Endian
* mipsarchn64{eb,el} : All MIPS n64 Big/Little Endian
This is intended to reduce duplications in recipes
[YOCTO #10404]
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/conf/machine/include/mips/README | 3 +++
meta/conf/machine/include/mips/arch-mips.inc | 12 ++++++++++++
2 files changed, 15 insertions(+)
diff --git a/meta/conf/machine/include/mips/README b/meta/conf/machine/include/mips/README
index 62fa156..f36e87b 100644
--- a/meta/conf/machine/include/mips/README
+++ b/meta/conf/machine/include/mips/README
@@ -32,6 +32,9 @@ MIPSPKGSFX_BYTE - This is defined as either blank and "64" for MIPS64 CPUs.
MIPSPKGSFX_ENDIAN - For bigendian hardware this is blank, otherwise it's
defined as "el".
+MIPSPKGSFX_ENDIAN2 - For bigendian hardware this is "eb", otherwise it's
+defined as "el".
+
MIPSPKGSFX_VARIANT_tune-<tune> - In the default tunings it is set to the
same value as TUNE_ARCH. In custom, optimized tunings, the value should
be modified to more precisely describe the tuning.
diff --git a/meta/conf/machine/include/mips/arch-mips.inc b/meta/conf/machine/include/mips/arch-mips.inc
index 6069ca1..d8b2bcb 100644
--- a/meta/conf/machine/include/mips/arch-mips.inc
+++ b/meta/conf/machine/include/mips/arch-mips.inc
@@ -39,6 +39,7 @@ TUNEVALID[mipsisa32r6] = "Use 32r6"
# Package naming
MIPSPKGSFX_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', '', 'el', d)}"
+MIPSPKGSFX_ENDIAN2 = "${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'eb', 'el', d)}"
MIPSPKGSFX_BYTE = "${@bb.utils.contains('TUNE_FEATURES', 'n64' , '64', '', d)}"
MIPSPKGSFX_BYTE .= "${@bb.utils.contains('TUNE_FEATURES', 'n32' , '64', '', d)}"
MIPSPKGSFX_FPU = "${@bb.utils.contains('TUNE_FEATURES', 'fpu-hard' , '', '-nf', d)}"
@@ -50,6 +51,17 @@ MIPSPKGSFX_32R6 = "${@bb.utils.contains('TUNE_FEATURES', 'mipsisa32r6', 'isa32',
TUNE_ARCH = "mips${MIPSPKGSFX_32R6}${MIPSPKGSFX_64R6}${MIPSPKGSFX_BYTE}${MIPSPKGSFX_R6}${MIPSPKGSFX_ENDIAN}"
TUNE_PKGARCH = "${MIPSPKGSFX_VARIANT_tune-${DEFAULTTUNE}}${MIPSPKGSFX_FPU}${MIPSPKGSFX_ABI}"
+# Various Global Machine Overrides
+MACHINEOVERRIDES =. "mipsarch:"
+MACHINEOVERRIDES =. "mipsarch${MIPSPKGSFX_ENDIAN2}:"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'r6', 'mipsarchr6:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'mipsarchn32:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'o32', 'mipsarcho32:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n64', 'mipsarchn64:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n32', 'mipsarchn32${MIPSPKGSFX_ENDIAN2}:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'o32', 'mipsarcho32${MIPSPKGSFX_ENDIAN2}:', '' ,d)}"
+MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'n64', 'mipsarchn64${MIPSPKGSFX_ENDIAN2}:', '' ,d)}"
+
# Base tunes
AVAILTUNES += "mips mips64-n32 mips64 mipsel mips64el-n32 mips64el mips-nf mips64-nf-n32 mips64-nf mipsel-nf mips64el-nf-n32 mips64el-nf"
TUNE_FEATURES_tune-mips = "o32 bigendian fpu-hard"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 03/14] bitbake.conf: Reduce duplication in MIPS variants
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 01/14] arch-mips: Add o32 in TUNE_FEATURES for MIPS32R6 Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 02/14] arch-mips: Add MACHINEOVERRIDES variables to reduce duplication Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 04/14] fts: " Zubair Lutfullah Kakakhel
` (11 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/conf/bitbake.conf | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9f445bb..1472e8f 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -533,16 +533,7 @@ BUILDSDK_LDFLAGS = "-Wl,-O1"
LINKER_HASH_STYLE ??= "gnu"
# mips does not support GNU hash style therefore we override
-LINKER_HASH_STYLE_mips = "sysv"
-LINKER_HASH_STYLE_mipsel = "sysv"
-LINKER_HASH_STYLE_mips64 = "sysv"
-LINKER_HASH_STYLE_mips64el = "sysv"
-LINKER_HASH_STYLE_mips64n32 = "sysv"
-LINKER_HASH_STYLE_mips64eln32 = "sysv"
-LINKER_HASH_STYLE_mipsisa32r6 = "sysv"
-LINKER_HASH_STYLE_mipsisa32r6el = "sysv"
-LINKER_HASH_STYLE_mipsisa64r6 = "sysv"
-LINKER_HASH_STYLE_mipsisa64r6el = "sysv"
+LINKER_HASH_STYLE_mipsarch = "sysv"
TARGET_LINK_HASH_STYLE ?= "${@['-Wl,--hash-style=gnu',''][d.getVar('LINKER_HASH_STYLE', True) != 'gnu']}"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 04/14] fts: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (2 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 03/14] bitbake.conf: Reduce duplication in MIPS variants Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 05/14] glibc: " Zubair Lutfullah Kakakhel
` (10 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-core/fts/fts.bb | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta/recipes-core/fts/fts.bb b/meta/recipes-core/fts/fts.bb
index 9d8230f..de9297e 100644
--- a/meta/recipes-core/fts/fts.bb
+++ b/meta/recipes-core/fts/fts.bb
@@ -22,10 +22,7 @@ S = "${WORKDIR}/${BPN}"
do_configure[noexec] = "1"
-HASHSTYLE_mips = "sysv"
-HASHSTYLE_mipsel = "sysv"
-HASHSTYLE_mips64 = "sysv"
-HASHSTYLE_mips64el = "sysv"
+HASHSTYLE_mipsarch = "sysv"
HASHSTYLE = "gnu"
VER = "0"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 05/14] glibc: Reduce duplication in MIPS variants
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (3 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 04/14] fts: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 06/14] packagegroup: " Zubair Lutfullah Kakakhel
` (9 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-core/glibc/glibc-ld.inc | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/meta/recipes-core/glibc/glibc-ld.inc b/meta/recipes-core/glibc/glibc-ld.inc
index b982368..e2e2474 100644
--- a/meta/recipes-core/glibc/glibc-ld.inc
+++ b/meta/recipes-core/glibc/glibc-ld.inc
@@ -7,21 +7,8 @@ def ld_append_if_tune_exists(d, infos, dict):
def glibc_dl_info(d):
ld_info_all = {
- "mips": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64-n32": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mipsel": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64el-n32": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64el": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips-nf": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mipsisa32r6": ["ld-linux-mipsn8.so.1", "FLAG_ELF_LIBC6"],
- "mipsisa32r6el": ["ld-linux-mipsn8.so.1", "FLAG_ELF_LIBC6"],
- "mips64-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64-nf": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64el-nf-n32": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mips64el-nf": ["ld.so.1", "FLAG_ELF_LIBC6"],
- "mipsisa64r6": ["ld-linux-mipsn8.so.1", "FLAG_ELF_LIBC6"],
- "mipsisa64r6el": ["ld-linux-mipsn8.so.1", "FLAG_ELF_LIBC6"],
+ "mipsarch": ["ld.so.1", "FLAG_ELF_LIBC6"],
+ "mipsarchr6": ["ld-linux-mipsn8.so.1", "FLAG_ELF_LIBC6"],
"powerpc": ["ld.so.1", "FLAG_ELF_LIBC6"],
"powerpc-nf": ["ld.so.1", "FLAG_ELF_LIBC6"],
"powerpc64": ["ld64.so.1", "FLAG_ELF_LIBC6"],
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 06/14] packagegroup: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (4 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 05/14] glibc: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 07/14] gcc-runtime: " Zubair Lutfullah Kakakhel
` (8 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-core/packagegroups/packagegroup-core-sdk.bb | 5 +----
.../packagegroups/packagegroup-core-tools-profile.bb | 10 ++--------
2 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
index aceba78..327cd8e 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-sdk.bb
@@ -28,10 +28,7 @@ RDEPENDS_packagegroup-core-sdk = "\
SANITIZERS = "libasan-dev libubsan-dev"
SANITIZERS_aarch64 = ""
-SANITIZERS_mips = ""
-SANITIZERS_mipsel = ""
-SANITIZERS_mips64 = ""
-SANITIZERS_mips64n32 = ""
+SANITIZERS_mipsarch = ""
SANITIZERS_nios2 = ""
SANITIZERS_powerpc64 = ""
SANITIZERS_sparc = ""
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
index dd98445..31ad82b 100644
--- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb
@@ -36,10 +36,7 @@ PERF_libc-musl = ""
SYSTEMTAP = "systemtap"
SYSTEMTAP_libc-uclibc = ""
SYSTEMTAP_libc-musl = ""
-SYSTEMTAP_mips = ""
-SYSTEMTAP_mipsel = ""
-SYSTEMTAP_mips64 = ""
-SYSTEMTAP_mips64n32 = ""
+SYSTEMTAP_mipsarch = ""
SYSTEMTAP_nios2 = ""
SYSTEMTAP_aarch64 = ""
@@ -65,10 +62,7 @@ BABELTRACE = "babeltrace"
VALGRIND = "valgrind"
VALGRIND_libc-uclibc = ""
VALGRIND_libc-musl = ""
-VALGRIND_mips = ""
-VALGRIND_mipsel = ""
-VALGRIND_mips64 = ""
-VALGRIND_mips64n32 = ""
+VALGRIND_mipsarch = ""
VALGRIND_nios2 = ""
VALGRIND_armv4 = ""
VALGRIND_armv5 = ""
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 07/14] gcc-runtime: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (5 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 06/14] packagegroup: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 08/14] gdb: " Zubair Lutfullah Kakakhel
` (7 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-devtools/gcc/gcc-runtime.inc | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
index 15252f1..d56f82a 100644
--- a/meta/recipes-devtools/gcc/gcc-runtime.inc
+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
@@ -17,14 +17,7 @@ EXTRA_OECONF_PATHS = "\
EXTRA_OECONF_append_linuxstdbase = " --enable-clocale=gnu"
RUNTIMELIBITM = "libitm"
-RUNTIMELIBITM_mips = ""
-RUNTIMELIBITM_mipsel = ""
-RUNTIMELIBITM_mips64 = ""
-RUNTIMELIBITM_mips64el = ""
-RUNTIMELIBITM_mipsisa32r6 = ""
-RUNTIMELIBITM_mipsisa32r6el = ""
-RUNTIMELIBITM_mipsisa64r6 = ""
-RUNTIMELIBITM_mipsisa64r6el = ""
+RUNTIMELIBITM_mipsarch = ""
RUNTIMELIBITM_nios2 = ""
RUNTIMELIBITM_microblaze = ""
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 08/14] gdb: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (6 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 07/14] gcc-runtime: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 09/14] mmc-utils: " Zubair Lutfullah Kakakhel
` (6 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-devtools/gdb/gdb-common.inc | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/meta/recipes-devtools/gdb/gdb-common.inc b/meta/recipes-devtools/gdb/gdb-common.inc
index 33a5ce9..5b8087c 100644
--- a/meta/recipes-devtools/gdb/gdb-common.inc
+++ b/meta/recipes-devtools/gdb/gdb-common.inc
@@ -6,12 +6,7 @@ DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST}"
LTTNGUST = "lttng-ust"
LTTNGUST_aarch64 = ""
LTTNGUST_libc-uclibc = ""
-LTTNGUST_mips = ""
-LTTNGUST_mipsel = ""
-LTTNGUST_mips64 = ""
-LTTNGUST_mips64el = ""
-LTTNGUST_mips64n32 = ""
-LTTNGUST_mips64eln32 = ""
+LTTNGUST_mipsarch = ""
LTTNGUST_sh4 = ""
LTTNGUST_libc-musl = ""
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 09/14] mmc-utils: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (7 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 08/14] gdb: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 10/14] valgrind: " Zubair Lutfullah Kakakhel
` (5 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-devtools/mmc/mmc-utils_git.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/mmc/mmc-utils_git.bb b/meta/recipes-devtools/mmc/mmc-utils_git.bb
index 2cba860..7858819 100644
--- a/meta/recipes-devtools/mmc/mmc-utils_git.bb
+++ b/meta/recipes-devtools/mmc/mmc-utils_git.bb
@@ -13,8 +13,8 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git;branc
S = "${WORKDIR}/git"
CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
-CFLAGS_append_mips64 = " -D__SANE_USERSPACE_TYPES__"
-CFLAGS_append_mips64n32 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS_append_mipsarchn32 = " -D__SANE_USERSPACE_TYPES__"
do_install() {
install -d ${D}${bindir}
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 10/14] valgrind: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (8 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 09/14] mmc-utils: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 11/14] ghostscript: " Zubair Lutfullah Kakakhel
` (4 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
index a113880..2474bbc 100644
--- a/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
+++ b/meta/recipes-devtools/valgrind/valgrind_3.12.0.bb
@@ -37,8 +37,7 @@ COMPATIBLE_HOST_armv5 = 'null'
COMPATIBLE_HOST_armv6 = 'null'
# valgrind doesn't like mips soft float
-COMPATIBLE_HOST_mips = "${@bb.utils.contains("TARGET_FPU", "soft", "null", ".*-linux", d)}"
-COMPATIBLE_HOST_mipsel = "${@bb.utils.contains("TARGET_FPU", "soft", "null", ".*-linux", d)}"
+COMPATIBLE_HOST_mipsarch = "${@bb.utils.contains("TARGET_FPU", "soft", "null", ".*-linux", d)}"
inherit autotools ptest
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 11/14] ghostscript: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (9 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 10/14] valgrind: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 12/14] ltp: " Zubair Lutfullah Kakakhel
` (3 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-extended/ghostscript/ghostscript_9.19.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb b/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
index fe2016b..8524591 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.19.bb
@@ -46,8 +46,7 @@ EXTRA_OECONF = "--without-x --with-system-libtiff --without-jbig2dec \
--with-cups-datadir=${datadir}/cups \
"
-EXTRA_OECONF_append_mips = " --with-large_color_index=0"
-EXTRA_OECONF_append_mipsel = " --with-large_color_index=0"
+EXTRA_OECONF_append_mipsarcho32 = " --with-large_color_index=0"
# Explicity disable libtiff, fontconfig,
# freetype, cups for ghostscript-native
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 12/14] ltp: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (10 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 11/14] ghostscript: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-09 0:13 ` Burton, Ross
2016-11-08 17:12 ` [Patch v2 13/14] mdadm: " Zubair Lutfullah Kakakhel
` (2 subsequent siblings)
14 siblings, 1 reply; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-extended/ltp/ltp_20160126.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-extended/ltp/ltp_20160126.bb b/meta/recipes-extended/ltp/ltp_20160126.bb
index 7631e0e..7ee84e3 100644
--- a/meta/recipes-extended/ltp/ltp_20160126.bb
+++ b/meta/recipes-extended/ltp/ltp_20160126.bb
@@ -23,7 +23,7 @@ DEPENDS = "attr libaio libcap acl openssl zip-native"
DEPENDS_append_libc-musl = " fts "
EXTRA_OEMAKE_append_libc-musl = " LIBC=musl "
CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__"
-CFLAGS_append_mips64 = " -D__SANE_USERSPACE_TYPES__"
+CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__"
SRCREV = "fce797676b14f50406718e7ef640b50da66c9b36"
SRC_URI = "git://github.com/linux-test-project/ltp.git \
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* Re: [Patch v2 12/14] ltp: Reduce duplication in MIPS variants.
2016-11-08 17:12 ` [Patch v2 12/14] ltp: " Zubair Lutfullah Kakakhel
@ 2016-11-09 0:13 ` Burton, Ross
2016-11-09 0:46 ` Khem Raj
0 siblings, 1 reply; 20+ messages in thread
From: Burton, Ross @ 2016-11-09 0:13 UTC (permalink / raw)
To: Zubair Lutfullah Kakakhel; +Cc: OE-core
[-- Attachment #1: Type: text/plain, Size: 324 bytes --]
On 8 November 2016 at 17:12, Zubair Lutfullah Kakakhel <
Zubair.Kakakhel@imgtec.com> wrote:
> Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
> variable is defined
>
I'm guessing that this is the cause of this error for qemumips64:
http://errors.yoctoproject.org/Errors/Details/99744/
Ross
[-- Attachment #2: Type: text/html, Size: 959 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Patch v2 12/14] ltp: Reduce duplication in MIPS variants.
2016-11-09 0:13 ` Burton, Ross
@ 2016-11-09 0:46 ` Khem Raj
2016-11-10 11:37 ` Zubair Lutfullah Kakakhel
0 siblings, 1 reply; 20+ messages in thread
From: Khem Raj @ 2016-11-09 0:46 UTC (permalink / raw)
To: Burton, Ross, Zubair Lutfullah Kakakhel; +Cc: OE-core
[-- Attachment #1.1: Type: text/plain, Size: 467 bytes --]
On 11/8/16 4:13 PM, Burton, Ross wrote:
>
> On 8 November 2016 at 17:12, Zubair Lutfullah Kakakhel
> <Zubair.Kakakhel@imgtec.com <mailto:Zubair.Kakakhel@imgtec.com>> wrote:
>
> Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
> variable is defined
>
>
> I'm guessing that this is the cause of this error for qemumips64:
>
> http://errors.yoctoproject.org/Errors/Details/99744/
seems to be yes.
>
> Ross
>
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread
* Re: [Patch v2 12/14] ltp: Reduce duplication in MIPS variants.
2016-11-09 0:46 ` Khem Raj
@ 2016-11-10 11:37 ` Zubair Lutfullah Kakakhel
2016-11-10 20:24 ` Burton, Ross
0 siblings, 1 reply; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-10 11:37 UTC (permalink / raw)
To: Khem Raj, Burton, Ross; +Cc: OE-core
Hi,
On 11/09/2016 12:46 AM, Khem Raj wrote:
>
>
> On 11/8/16 4:13 PM, Burton, Ross wrote:
>>
>> On 8 November 2016 at 17:12, Zubair Lutfullah Kakakhel
>> <Zubair.Kakakhel@imgtec.com <mailto:Zubair.Kakakhel@imgtec.com>> wrote:
>>
>> Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
>> variable is defined
>>
>>
>> I'm guessing that this is the cause of this error for qemumips64:
>>
>> http://errors.yoctoproject.org/Errors/Details/99744/
>
> seems to be yes.
I can't seem to be able to reproduce this error using just my patches on top of poky master.
Regards,
ZubairLK
>
>>
>> Ross
>>
>>
>
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Patch v2 13/14] mdadm: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (11 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 12/14] ltp: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:12 ` [Patch v2 14/14] webkit: " Zubair Lutfullah Kakakhel
2016-11-08 17:44 ` [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Khem Raj
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-extended/mdadm/mdadm_3.4.bb b/meta/recipes-extended/mdadm/mdadm_3.4.bb
index 261054e..d34b885 100644
--- a/meta/recipes-extended/mdadm/mdadm_3.4.bb
+++ b/meta/recipes-extended/mdadm/mdadm_3.4.bb
@@ -34,8 +34,8 @@ EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}"'
# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get
# int-ll64.h included
CFLAGS_append_powerpc64 = ' -D__SANE_USERSPACE_TYPES__'
-CFLAGS_append_mips64 = ' -D__SANE_USERSPACE_TYPES__'
-CFLAGS_append_mips64n32 = ' -D__SANE_USERSPACE_TYPES__'
+CFLAGS_append_mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__'
+CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__'
do_compile() {
oe_runmake SYSROOT="${STAGING_DIR_TARGET}"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* [Patch v2 14/14] webkit: Reduce duplication in MIPS variants.
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (12 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 13/14] mdadm: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:12 ` Zubair Lutfullah Kakakhel
2016-11-08 17:44 ` [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Khem Raj
14 siblings, 0 replies; 20+ messages in thread
From: Zubair Lutfullah Kakakhel @ 2016-11-08 17:12 UTC (permalink / raw)
To: openembedded-core
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com>
---
meta/recipes-sato/webkit/webkitgtk_2.14.1.bb | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb
index a2586de..a67ff0a 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.14.1.bb
@@ -82,8 +82,7 @@ EXTRA_OECMAKE_append_mips64 = " -DUSE_LD_GOLD=OFF "
EXTRA_OECMAKE_append_toolchain-clang = " -DUSE_LD_GOLD=OFF "
# JIT not supported on MIPS either
-EXTRA_OECMAKE_append_mips = " -DENABLE_JIT=OFF "
-EXTRA_OECMAKE_append_mips64 = " -DENABLE_JIT=OFF "
+EXTRA_OECMAKE_append_mipsarch = " -DENABLE_JIT=OFF "
SECURITY_CFLAGS_remove_aarch64 = "-fpie"
SECURITY_CFLAGS_append_aarch64 = " -fPIE"
--
2.10.2
^ permalink raw reply related [flat|nested] 20+ messages in thread* Re: [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication
2016-11-08 17:12 [Patch v2 00/14] MIPS: Use MACHINEOVERRIDES and reduce duplication Zubair Lutfullah Kakakhel
` (13 preceding siblings ...)
2016-11-08 17:12 ` [Patch v2 14/14] webkit: " Zubair Lutfullah Kakakhel
@ 2016-11-08 17:44 ` Khem Raj
14 siblings, 0 replies; 20+ messages in thread
From: Khem Raj @ 2016-11-08 17:44 UTC (permalink / raw)
To: Zubair Lutfullah Kakakhel, openembedded-core
[-- Attachment #1.1: Type: text/plain, Size: 2516 bytes --]
On 11/8/16 9:12 AM, Zubair Lutfullah Kakakhel wrote:
> Hi,
>
> This patch series adds a few MACHINEOVERRIDES options in arch-mips
> to reduce duplicate configurations in various recipes.
>
> Further info in
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=10404
>
This series looks good to me.
Thanks for doing this.
> Regards,
> ZubairLK
>
> V1 -> V2
> Added more options for endian independent and big/little endian
> Added another patch for o32 in TUNE_FEATURES for MIPS32R6.
>
> Zubair Lutfullah Kakakhel (14):
> arch-mips: Add o32 in TUNE_FEATURES for MIPS32R6
> arch-mips: Add MACHINEOVERRIDES variables to reduce duplication
> bitbake.conf: Reduce duplication in MIPS variants
> fts: Reduce duplication in MIPS variants.
> glibc: Reduce duplication in MIPS variants
> packagegroup: Reduce duplication in MIPS variants.
> gcc-runtime: Reduce duplication in MIPS variants.
> gdb: Reduce duplication in MIPS variants.
> mmc-utils: Reduce duplication in MIPS variants.
> valgrind: Reduce duplication in MIPS variants.
> ghostscript: Reduce duplication in MIPS variants.
> ltp: Reduce duplication in MIPS variants.
> mdadm: Reduce duplication in MIPS variants.
> webkit: Reduce duplication in MIPS variants.
>
> meta/conf/bitbake.conf | 11 +----------
> meta/conf/machine/include/mips/README | 3 +++
> meta/conf/machine/include/mips/arch-mips.inc | 12 ++++++++++++
> meta/conf/machine/include/tune-mips32r6.inc | 8 ++++----
> meta/recipes-core/fts/fts.bb | 5 +----
> meta/recipes-core/glibc/glibc-ld.inc | 17 ++---------------
> .../recipes-core/packagegroups/packagegroup-core-sdk.bb | 5 +----
> .../packagegroups/packagegroup-core-tools-profile.bb | 10 ++--------
> meta/recipes-devtools/gcc/gcc-runtime.inc | 9 +--------
> meta/recipes-devtools/gdb/gdb-common.inc | 7 +------
> meta/recipes-devtools/mmc/mmc-utils_git.bb | 4 ++--
> meta/recipes-devtools/valgrind/valgrind_3.12.0.bb | 3 +--
> meta/recipes-extended/ghostscript/ghostscript_9.19.bb | 3 +--
> meta/recipes-extended/ltp/ltp_20160126.bb | 2 +-
> meta/recipes-extended/mdadm/mdadm_3.4.bb | 4 ++--
> meta/recipes-sato/webkit/webkitgtk_2.14.1.bb | 3 +--
> 16 files changed, 36 insertions(+), 70 deletions(-)
>
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 211 bytes --]
^ permalink raw reply [flat|nested] 20+ messages in thread