Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
From f7d24ce8486d9229207cca1ff98858fe60ffe583 Mon Sep 17 00:00:00 2001
|
||||
From: Anonymous Maarten <anonymous.maarten@gmail.com>
|
||||
Date: Thu, 27 Apr 2023 22:39:41 +0200
|
||||
Subject: [PATCH] cmake: bump minimum CMake version to 3.5 in anticipation of
|
||||
CMake 3.27
|
||||
|
||||
Upstream: https://github.com/icculus/physfs/commit/f7d24ce8486d9229207cca1ff98858fe60ffe583
|
||||
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
[rebased for 3.2.0]
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index dfe127a7..1194449e 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
set(PHYSFS_VERSION 3.2.0)
|
||||
|
||||
-cmake_minimum_required(VERSION 3.0)
|
||||
+cmake_minimum_required(VERSION 3.5)
|
||||
|
||||
project(PhysicsFS VERSION ${PHYSFS_VERSION} LANGUAGES C )
|
||||
|
||||
11
package/physfs/Config.in
Normal file
11
package/physfs/Config.in
Normal file
@@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_PHYSFS
|
||||
bool "physfs"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
PhysicsFS; a portable, flexible file i/o abstraction.
|
||||
|
||||
http://icculus.org/physfs
|
||||
|
||||
comment "physfs needs a toolchain w/ C++, threads"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/physfs/physfs.hash
Normal file
3
package/physfs/physfs.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 1991500eaeb8d5325e3a8361847ff3bf8e03ec89252b7915e1f25b3f8ab5d560 physfs-3.2.0.tar.gz
|
||||
sha256 111b286674ab4720fd1b693ef8628a94bca8f06484d5fe3d75bd6db22fdc1cb2 LICENSE.txt
|
||||
29
package/physfs/physfs.mk
Normal file
29
package/physfs/physfs.mk
Normal file
@@ -0,0 +1,29 @@
|
||||
################################################################################
|
||||
#
|
||||
# physfs
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHYSFS_VERSION = 3.2.0
|
||||
PHYSFS_SITE = $(call github,icculus,physfs,release-$(PHYSFS_VERSION))
|
||||
|
||||
PHYSFS_LICENSE = Zlib
|
||||
PHYSFS_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
PHYSFS_INSTALL_STAGING = YES
|
||||
|
||||
PHYSFS_CONF_OPTS = -DPHYSFS_BUILD_TEST=OFF
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_SHARED=ON
|
||||
else
|
||||
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_SHARED=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_STATIC=ON
|
||||
else
|
||||
PHYSFS_CONF_OPTS += -DPHYSFS_BUILD_STATIC=OFF
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user