get aarch64-none-elf to configure & build

This commit is contained in:
Dave Murphy
2018-03-10 11:05:56 +00:00
parent 4cd981609b
commit 9a27289760
13 changed files with 153 additions and 0 deletions

0
src/audio/switch/dummy.c Normal file
View File

View File

@@ -57,6 +57,8 @@
#define SDL_DYNAMIC_API 0
#elif defined(__clang_analyzer__)
#define SDL_DYNAMIC_API 0 /* Turn off for static analysis, so reports are more clear. */
#elif defined(__SWITCH__) && __SWITCH__
#define SDL_DYNAMIC_API 0 /* Probably not useful on switch. */
#endif
/* everyone else. This is where we turn on the API if nothing forced it off. */

View File

View File

0
src/power/switch/dummy.c Normal file
View File

View File

@@ -38,6 +38,8 @@
#include "stdcpp/SDL_systhread_c.h"
#elif SDL_THREAD_OS2
#include "os2/SDL_systhread_c.h"
#elif SDL_THREAD_SWITCH
#include "switch/SDL_systhread_c.h"
#else
#error Need thread implementation for this platform
#include "generic/SDL_systhread_c.h"

View File

@@ -0,0 +1,24 @@
/*
Simple DirectMedia Layer
Copyright (C) 1997-2014 Sam Lantinga <slouken@libsdl.org>
This software is provided 'as-is', without any express or implied
warranty. In no event will the authors be held liable for any damages
arising from the use of this software.
Permission is granted to anyone to use this software for any purpose,
including commercial applications, and to alter it and redistribute it
freely, subject to the following restrictions:
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
#include <switch.h>
typedef Thread* SYS_ThreadHandle;

View File

0
src/timer/switch/dummy.c Normal file
View File

0
src/video/switch/dummy.c Normal file
View File