Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Include/Linux-Arm/OniPlatformLinux-Arm.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,4 @@

#endif //_ONI_PLATFORM_LINUX_ARM_H_


2 changes: 2 additions & 0 deletions ThirdParty/PSCommon/BuildSystem/CommonDefs.mak
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ else ifneq (,$(findstring i686,$(MACHINE)))
HOST_PLATFORM = x86
else ifneq (,$(findstring i386,$(MACHINE)))
HOST_PLATFORM = x86
else ifneq (,$(findstring armv6l,$(MACHINE)))
HOST_PLATFORM = Armv6l
else ifneq (,$(findstring arm,$(MACHINE)))
HOST_PLATFORM = Arm
else
Expand Down
14 changes: 14 additions & 0 deletions ThirdParty/PSCommon/BuildSystem/Platform.Armv6l
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Platform defs for Raspberry PI Hard floats

ifeq "$(CFG)" "Release"

# Hardware specifying flags
CFLAGS += -mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=hard

# Optimization level, minus currently buggy optimizing methods (which break bit-exact)
CFLAGS += -O3 -fno-tree-pre -fno-strict-aliasing

# More optimization flags
CFLAGS += -ftree-vectorize -ffast-math -funsafe-math-optimizations -fsingle-precision-constant

endif
3 changes: 2 additions & 1 deletion ThirdParty/PSCommon/XnLib/Source/Linux/XnLinuxUSBDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
//---------------------------------------------------------------------------
#include <XnPlatform.h>

#if (XN_PLATFORM == XN_PLATFORM_LINUX_ARM)
// #if (XN_PLATFORM == XN_PLATFORM_LINUX_ARM)
#if 0

#include <XnUSBDevice.h>
#include <linux/usb/gadgetfs.h>
Expand Down