Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
From 8158764baaa6cea81f514af157019c0dc81b6e46 Mon Sep 17 00:00:00 2001
|
||||
From: Florian Larysch <fl@n621.de>
|
||||
Date: Thu, 22 May 2025 23:46:42 +0200
|
||||
Subject: [PATCH] cmake: bump compatibility level up to 3.10
|
||||
|
||||
As of CMake 4.0, backwards compatibility to versions older than 3.5 has
|
||||
been removed and is deprecated for versions older than 3.10. Bump
|
||||
compatibility to version 3.10 using the process described in [1].
|
||||
|
||||
Of the changed policies, only CMP0065 seems to affect the LZO build as
|
||||
is, namely the example binaries, but this seems like a reasonable change
|
||||
rather than an actual compatibility issue.
|
||||
|
||||
[1] https://cmake.org/cmake/help/v4.0/manual/cmake-policies.7.html#updating-projects
|
||||
|
||||
Upstream: Submitted to upstream via direct email as there is no public
|
||||
mailing list or forge presence.
|
||||
|
||||
Signed-off-by: Florian Larysch <fl@n621.de>
|
||||
---
|
||||
CMakeLists.txt | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 98c0a1a..108537c 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -8,7 +8,7 @@
|
||||
# All Rights Reserved.
|
||||
#
|
||||
|
||||
-cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
|
||||
+cmake_minimum_required(VERSION 3.0...3.10 FATAL_ERROR)
|
||||
|
||||
#
|
||||
# simple usage example (Unix):
|
||||
@@ -57,7 +57,7 @@ if(NOT ENABLE_STATIC AND NOT ENABLE_SHARED)
|
||||
set(ENABLE_STATIC ON)
|
||||
endif()
|
||||
if(ENABLE_SHARED AND WIN32)
|
||||
- cmake_minimum_required(VERSION 3.4.3 FATAL_ERROR) # needed for WINDOWS_EXPORT_ALL_SYMBOLS
|
||||
+ cmake_minimum_required(VERSION 3.4.3...3.10 FATAL_ERROR) # needed for WINDOWS_EXPORT_ALL_SYMBOLS
|
||||
endif()
|
||||
|
||||
# install directories
|
||||
--
|
||||
2.49.0
|
||||
|
||||
6
package/lzo/Config.in
Normal file
6
package/lzo/Config.in
Normal file
@@ -0,0 +1,6 @@
|
||||
config BR2_PACKAGE_LZO
|
||||
bool "lzo"
|
||||
help
|
||||
Portable lossless data compression library written in ANSI C.
|
||||
|
||||
http://www.oberhumer.com/opensource/lzo/
|
||||
5
package/lzo/lzo.hash
Normal file
5
package/lzo/lzo.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From http://www.oberhumer.com/opensource/lzo/
|
||||
sha1 4924676a9bae5db58ef129dc1cebce3baa3c4b5d lzo-2.10.tar.gz
|
||||
# Locally computed
|
||||
sha256 c0f892943208266f9b6543b3ae308fab6284c5c90e627931446fb49b4221a072 lzo-2.10.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
30
package/lzo/lzo.mk
Normal file
30
package/lzo/lzo.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# lzo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LZO_VERSION = 2.10
|
||||
LZO_SITE = http://www.oberhumer.com/opensource/lzo/download
|
||||
LZO_LICENSE = GPL-2.0+
|
||||
LZO_LICENSE_FILES = COPYING
|
||||
LZO_CPE_ID_VALID = YES
|
||||
LZO_INSTALL_STAGING = YES
|
||||
LZO_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
|
||||
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LZO_CONF_OPTS += -DENABLE_SHARED=ON
|
||||
else
|
||||
LZO_CONF_OPTS += -DENABLE_SHARED=OFF
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
||||
LZO_CONF_OPTS += -DENABLE_STATIC=ON
|
||||
else
|
||||
LZO_CONF_OPTS += -DENABLE_STATIC=OFF
|
||||
endif
|
||||
|
||||
HOST_LZO_CONF_OPTS += -DENABLE_SHARED=ON -DENABLE_STATIC=OFF
|
||||
|
||||
$(eval $(cmake-package))
|
||||
$(eval $(host-cmake-package))
|
||||
Reference in New Issue
Block a user