aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/microblaze/preconfigure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/microblaze/preconfigure.ac')
-rw-r--r--sysdeps/microblaze/preconfigure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/microblaze/preconfigure.ac b/sysdeps/microblaze/preconfigure.ac
new file mode 100644
index 0000000..3d05d6f
--- /dev/null
+++ b/sysdeps/microblaze/preconfigure.ac
@@ -0,0 +1,11 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local preconfigure fragment for sysdeps/microblaze
+
+AC_EGREP_CPP(yes,[#if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__
+ yes
+ #endif
+ ], endianness=le, endianness=be)
+
+case "$machine" in
+microblaze*) base_machine=microblaze machine=microblaze/$endianness ;;
+esac