mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-15 07:48:15 +00:00
Review new build platform: FreeBSD
Corrected issue with RPI_CROSS_COMPILE
This commit is contained in:
11
src/Makefile
11
src/Makefile
@@ -3,11 +3,11 @@
|
|||||||
# raylib makefile
|
# raylib makefile
|
||||||
#
|
#
|
||||||
# Platforms supported:
|
# Platforms supported:
|
||||||
# PLATFORM_DESKTOP: Windows (win32/Win64)
|
# PLATFORM_DESKTOP: Windows (Win32, Win64)
|
||||||
# PLATFORM_DESKTOP: Linux
|
# PLATFORM_DESKTOP: Linux
|
||||||
# PLATFORM_DESKTOP: OSX (Mac)
|
# PLATFORM_DESKTOP: OSX/macOS
|
||||||
# PLATFORM_DESKTOP: FreeBSD
|
# PLATFORM_DESKTOP: FreeBSD
|
||||||
# PLATFORM_ANDROID: Android (ARM or ARM64)
|
# PLATFORM_ANDROID: Android (ARM, ARM64)
|
||||||
# PLATFORM_RPI: Raspberry Pi (Raspbian)
|
# PLATFORM_RPI: Raspberry Pi (Raspbian)
|
||||||
# PLATFORM_WEB: HTML5 (Chrome, Firefox)
|
# PLATFORM_WEB: HTML5 (Chrome, Firefox)
|
||||||
#
|
#
|
||||||
@@ -57,10 +57,13 @@ endif
|
|||||||
|
|
||||||
# Use cross-compiler for PLATFORM_RPI
|
# Use cross-compiler for PLATFORM_RPI
|
||||||
ifeq ($(PLATFORM),PLATFORM_RPI)
|
ifeq ($(PLATFORM),PLATFORM_RPI)
|
||||||
RPI_CROSS_COMPILE ?= YES
|
RPI_CROSS_COMPILE ?= NO
|
||||||
|
|
||||||
|
ifeq ($(RPI_CROSS_COMPILE),YES)
|
||||||
RPI_TOOLCHAIN ?= C:/SysGCC/Raspberry
|
RPI_TOOLCHAIN ?= C:/SysGCC/Raspberry
|
||||||
RPI_TOOLCHAIN_SYSROOT ?= $(RPI_TOOLCHAIN)/arm-linux-gnueabihf/sysroot
|
RPI_TOOLCHAIN_SYSROOT ?= $(RPI_TOOLCHAIN)/arm-linux-gnueabihf/sysroot
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
# Determine if the file has root access (only for installing raylib)
|
# Determine if the file has root access (only for installing raylib)
|
||||||
# "whoami" prints the name of the user that calls him (so, if it is the root
|
# "whoami" prints the name of the user that calls him (so, if it is the root
|
||||||
|
@@ -3,17 +3,18 @@
|
|||||||
* raylib.core - Basic functions to manage windows, OpenGL context and input on multiple platforms
|
* raylib.core - Basic functions to manage windows, OpenGL context and input on multiple platforms
|
||||||
*
|
*
|
||||||
* PLATFORMS SUPPORTED:
|
* PLATFORMS SUPPORTED:
|
||||||
* - Windows (win32/Win64)
|
* - Windows (Win32, Win64)
|
||||||
* - Linux (tested on Ubuntu)
|
* - Linux (tested on Ubuntu)
|
||||||
* - OSX (Mac)
|
* - FreeBSD
|
||||||
* - Android (ARM or ARM64)
|
* - OSX/macOS
|
||||||
|
* - Android (ARM, ARM64)
|
||||||
* - Raspberry Pi (Raspbian)
|
* - Raspberry Pi (Raspbian)
|
||||||
* - HTML5 (Chrome, Firefox)
|
* - HTML5 (Chrome, Firefox)
|
||||||
*
|
*
|
||||||
* CONFIGURATION:
|
* CONFIGURATION:
|
||||||
*
|
*
|
||||||
* #define PLATFORM_DESKTOP
|
* #define PLATFORM_DESKTOP
|
||||||
* Windowing and input system configured for desktop platforms: Windows, Linux, OSX (managed by GLFW3 library)
|
* Windowing and input system configured for desktop platforms: Windows, Linux, OSX, FreeBSD (managed by GLFW3 library)
|
||||||
* NOTE: Oculus Rift CV1 requires PLATFORM_DESKTOP for mirror rendering - View [rlgl] module to enable it
|
* NOTE: Oculus Rift CV1 requires PLATFORM_DESKTOP for mirror rendering - View [rlgl] module to enable it
|
||||||
*
|
*
|
||||||
* #define PLATFORM_ANDROID
|
* #define PLATFORM_ANDROID
|
||||||
|
Reference in New Issue
Block a user