Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From 69a4897efca9c1c8546872d021b57d9e12764441 Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
Date: Fri, 26 Dec 2025 18:08:35 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: bump CMake minimum required version for CMake
|
||||
4 compliance
|
||||
|
||||
CMake 4 will refuse to build if the cmake_minimum_required() version
|
||||
is not at least 3.5:
|
||||
|
||||
CMake Error at CMakeLists.txt:1 (cmake_minimum_required):
|
||||
Compatibility with CMake < 3.5 has been removed from CMake.
|
||||
|
||||
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
|
||||
to tell CMake that the project requires at least <min> but has been updated
|
||||
to work with policies introduced by <max> or earlier.
|
||||
|
||||
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
||||
|
||||
So bump the required CMake version accordingly.
|
||||
|
||||
Upstream: https://github.com/g-truc/gli/pull/196
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 6f70f493..b705dbaf 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 3.1 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
|
||||
project(gli)
|
||||
--
|
||||
2.52.0
|
||||
|
||||
10
package/gli/Config.in
Normal file
10
package/gli/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_GLI
|
||||
bool "gli"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
help
|
||||
OpenGL Image (GLI)
|
||||
|
||||
http://gli.g-truc.net
|
||||
|
||||
comment "gli needs a toolchain w/ C++"
|
||||
depends on !BR2_INSTALL_LIBSTDCPP
|
||||
3
package/gli/gli.hash
Normal file
3
package/gli/gli.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 2f4f67ac4d1673216f03ff37e406bb403689b39a2df3d2efad501448705bbb3f gli-779b99ac6656e4d30c3b24e96e0136a59649a869.tar.gz
|
||||
sha256 474c5f04064507cf5ac991fc3d4b990e5e34b15705d38d2062f8844c102113cf manual.md
|
||||
19
package/gli/gli.mk
Normal file
19
package/gli/gli.mk
Normal file
@@ -0,0 +1,19 @@
|
||||
################################################################################
|
||||
#
|
||||
# gli
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GLI_VERSION = 779b99ac6656e4d30c3b24e96e0136a59649a869
|
||||
GLI_SITE = $(call github,g-truc,gli,$(GLI_VERSION))
|
||||
GLI_LICENSE = MIT
|
||||
GLI_LICENSE_FILES = manual.md
|
||||
|
||||
# GLI is a header-only library, it only makes sense
|
||||
# to have it installed into the staging directory.
|
||||
GLI_INSTALL_STAGING = YES
|
||||
GLI_INSTALL_TARGET = NO
|
||||
|
||||
GLI_CONF_OPTS = -DGLI_TEST_ENABLE=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user