Skip to contentSkip to conversation

Add support for mips/mips64 in configure.ac

PATCH In review Ronny Meeus 2 participants 3 messages Nov 28, 2016 – Nov 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add support for mips/mips64 in configure.ac

This patch adds support for mips/mips64 in configure.ac. It has been tested on Mercury only.

configure.ac +4 -0
@@ -135,6 +135,10 @@ case "$build_for" in
 	XENO_TARGET_ARCH=blackfin
 	CONFIG_XENO_DEFAULT_PERIOD=100000
 	;;
+ mips-*|mips64-*)
+	XENO_TARGET_ARCH=mips
+	CONFIG_XENO_DEFAULT_PERIOD=100000
+	;;
  arm*-*)
 	XENO_TARGET_ARCH=arm
 	CONFIG_XENO_DEFAULT_PERIOD=1000000
#1 lore raw
Quoted 8 lines · Ronny Meeus

This patch adds support for mips/mips64 in configure.ac. It has been tested on Mercury only.

configure.ac case "$build_for" in · line 144

Quoted 10 lines
configure.ac +4 -0
@@ -135,6 +135,10 @@ case "$build_for" in
 	XENO_TARGET_ARCH=blackfin
 	CONFIG_XENO_DEFAULT_PERIOD=100000
 	;;
+ mips-*|mips64-*)
+	XENO_TARGET_ARCH=mips
+	CONFIG_XENO_DEFAULT_PERIOD=100000
+	;;
  arm*-*)
 	XENO_TARGET_ARCH=arm
 	CONFIG_XENO_DEFAULT_PERIOD=1000000

Thanks. The same issue was discussed for aarch64 a few weeks ago:
http://xenomai.org/pipermail/xenomai/2016-November/036871.html

A more general fix is to not restrict the set of CPU architectures when building for Mercury. This patch should help:
https://git.xenomai.org/xenomai-3.git/commit/?h=stable-3.0.x&id=18493575967fe969768674096f88b63d71e032e1

Signature · 1 line
Philippe.
#2 lore raw
Quoted 23 lines · Philippe Gerum
Quoted 8 lines · Ronny Meeus

This patch adds support for mips/mips64 in configure.ac. It has been tested on Mercury only.

configure.ac case "$build_for" in · line 144

Quoted 10 lines
configure.ac +4 -0
@@ -135,6 +135,10 @@ case "$build_for" in
      XENO_TARGET_ARCH=blackfin
      CONFIG_XENO_DEFAULT_PERIOD=100000
      ;;
+ mips-*|mips64-*)
+     XENO_TARGET_ARCH=mips
+     CONFIG_XENO_DEFAULT_PERIOD=100000
+     ;;
  arm*-*)
      XENO_TARGET_ARCH=arm
      CONFIG_XENO_DEFAULT_PERIOD=1000000

Thanks. The same issue was discussed for aarch64 a few weeks ago:
http://xenomai.org/pipermail/xenomai/2016-November/036871.html

Quoted 6 lines

A more general fix is to not restrict the set of CPU architectures when building for Mercury. This patch should help:
https://git.xenomai.org/xenomai-3.git/commit/?h=stable-3.0.x&id=
18493575967fe969768674096f88b63d71e032e1

Philippe

Patch is also working well.
Thanks.

Ronny

Quoted 3 lines

--
Philippe.