mirror of
https://github.com/devkitPro/buildscripts.git
synced 2026-08-21 09:54:03 -05:00
Compare commits
2 Commits
v20180613
...
devkitPPC_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df5a8f947a | ||
|
|
0778d4209c |
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
# devkitARM release 49
|
# devkitARM release 49
|
||||||
# devkitPPC release 31
|
# devkitPPC release 32
|
||||||
# devkitA64 release 10
|
# devkitA64 release 10
|
||||||
#---------------------------------------------------------------------------------
|
#---------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|||||||
@@ -7407,17 +7407,16 @@ index eb645868b..b9a006453 100644
|
|||||||
powerpc*-*-linux* | \
|
powerpc*-*-linux* | \
|
||||||
powerpc*-*-rtem* | \
|
powerpc*-*-rtem* | \
|
||||||
diff --git a/newlib/libc/include/sys/dirent.h b/newlib/libc/include/sys/dirent.h
|
diff --git a/newlib/libc/include/sys/dirent.h b/newlib/libc/include/sys/dirent.h
|
||||||
index a3fb5c02c..8ddd10867 100644
|
index a3fb5c02c..b42f0b3b1 100644
|
||||||
--- a/newlib/libc/include/sys/dirent.h
|
--- a/newlib/libc/include/sys/dirent.h
|
||||||
+++ b/newlib/libc/include/sys/dirent.h
|
+++ b/newlib/libc/include/sys/dirent.h
|
||||||
@@ -4,10 +4,57 @@
|
@@ -4,10 +4,56 @@
|
||||||
not support <dirent.h>, we will get this file which uses #error to force
|
not support <dirent.h>, we will get this file which uses #error to force
|
||||||
an error. */
|
an error. */
|
||||||
|
|
||||||
+#ifndef _dirent_h_
|
+#ifndef _dirent_h_
|
||||||
+#define _dirent_h_
|
+#define _dirent_h_
|
||||||
+
|
+
|
||||||
+#include <sys/iosupport.h>
|
|
||||||
+#include <sys/types.h>
|
+#include <sys/types.h>
|
||||||
+#include <sys/syslimits.h>
|
+#include <sys/syslimits.h>
|
||||||
+
|
+
|
||||||
@@ -7446,7 +7445,7 @@ index a3fb5c02c..8ddd10867 100644
|
|||||||
+
|
+
|
||||||
+ typedef struct {
|
+ typedef struct {
|
||||||
+ long int position;
|
+ long int position;
|
||||||
+ DIR_ITER* dirData;
|
+ void* dirData;
|
||||||
+ struct dirent fileData;
|
+ struct dirent fileData;
|
||||||
+ } DIR;
|
+ } DIR;
|
||||||
+
|
+
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ then
|
|||||||
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
--with-headers=../../newlib-$NEWLIB_VER/newlib/libc/include \
|
||||||
--prefix=$prefix\
|
--prefix=$prefix\
|
||||||
--with-system-zlib\
|
--with-system-zlib\
|
||||||
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 31" \
|
--with-bugurl="https://github.com/devkitpro/buildscripts/issues" --with-pkgversion="devkitPPC release 32" \
|
||||||
$CROSS_PARAMS \
|
$CROSS_PARAMS \
|
||||||
$CROSS_GCC_PARAMS \
|
$CROSS_GCC_PARAMS \
|
||||||
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
CFLAGS_FOR_TARGET="-O2 -ffunction-sections -fdata-sections" \
|
||||||
@@ -139,7 +139,6 @@ then
|
|||||||
--target=$target \
|
--target=$target \
|
||||||
--prefix=$prefix \
|
--prefix=$prefix \
|
||||||
--enable-newlib-mb \
|
--enable-newlib-mb \
|
||||||
--enable-newlib-hw-fp \
|
|
||||||
|| { echo "Error configuring newlib"; exit 1; }
|
|| { echo "Error configuring newlib"; exit 1; }
|
||||||
touch configured-newlib
|
touch configured-newlib
|
||||||
fi
|
fi
|
||||||
@@ -203,7 +202,8 @@ if [ ! -f configured-gdb ]
|
|||||||
then
|
then
|
||||||
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../gdb-$GDB_VER/configure \
|
CFLAGS="$cflags" LDFLAGS="$ldflags" ../../gdb-$GDB_VER/configure \
|
||||||
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|
--disable-nls --prefix=$prefix --target=$target --disable-werror \
|
||||||
$CROSS_PARAMS || { echo "Error configuring gdb"; exit 1; }
|
$CROSS_PARAMS \
|
||||||
|
$CROSS_GCC_PARAMS || { echo "Error configuring gdb"; exit 1; }
|
||||||
touch configured-gdb
|
touch configured-gdb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user