[PATCH 7/7] Add more OR1k machine types and correct OR1k configure subdir

Jakob Viketoft jakob.viketoft at aacmicrotec.com
Fri Feb 19 09:34:28 UTC 2016


diff --git a/c/src/lib/libbsp/or1k/configure.ac b/c/src/lib/libbsp/or1k/configure.ac
index e809e40..6bb9c13 100644
--- a/c/src/lib/libbsp/or1k/configure.ac
+++ b/c/src/lib/libbsp/or1k/configure.ac
@@ -2,7 +2,7 @@
 
 AC_PREREQ([2.69])
 AC_INIT([rtems-c-src-lib-libbsp-or1k],[_RTEMS_VERSION],[https://devel.rtems.org/newticket])
-AC_CONFIG_SRCDIR([generic_or1k])
+AC_CONFIG_SRCDIR([../or1k])
 RTEMS_TOP(../../../../..)
 
 RTEMS_CANONICAL_TARGET_CPU
diff --git a/config.sub b/config.sub
index 8b612ab..fbeac69 100755
--- a/config.sub
+++ b/config.sub
@@ -296,7 +296,7 @@ case $basic_machine in
 	| nios | nios2 | nios2eb | nios2el \
 	| ns16k | ns32k \
 	| open8 \
-	| or1k | or32 \
+	| or1k | or32 | or1k-* \
 	| pdp10 | pdp11 | pj | pjl \
 	| powerpc | powerpc64 | powerpc64le | powerpcle \
 	| pyramid \
@@ -1589,7 +1589,7 @@ case $basic_machine in
 	mips*-*)
 		os=-elf
 		;;
-	or1k-*)
+	or1k-* | or1k*-*-*)
 		os=-elf
 		;;
 	or32-*)


Jakob Viketoft
Senior Engineer in RTL and embedded software

ÅAC Microtec AB
Dag Hammarskjölds väg 48
SE-751 83 Uppsala, Sweden

T: +46 702 80 95 97
http://www.aacmicrotec.com


More information about the devel mailing list