initial buildroot for linux 5.15

This commit is contained in:
Huan.Feng
2021-12-06 14:12:13 +08:00
parent d7767d594e
commit 7b6fc358fa
12736 changed files with 508822 additions and 0 deletions
@@ -0,0 +1,20 @@
Fix build with gcc 4.8
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
[Upstream status: https://sourceforge.net/p/lgames/patches/28]
Index: ltris/src/bowl.c
===================================================================
--- ltris/src/bowl.c (révision 421)
+++ ltris/src/bowl.c (copie de travail)
@@ -828,9 +828,10 @@
*/
void bowl_init_block_masks()
{
+ int i;
int masksize = sizeof(block_masks[0].mask); // same for all
- for (int i = 0; i < 7; i++) {
+ for (i = 0; i < 7; i++) {
block_masks[i].rx = 2;
block_masks[i].ry = 2;
memset(block_masks[i].mask, 0, masksize );
+21
View File
@@ -0,0 +1,21 @@
config BR2_PACKAGE_LTRIS
bool "LTris"
depends on BR2_USE_MMU # fork()
select BR2_PACKAGE_SDL
help
LTris is a tetris clone, using SDL. It optionally requires
SDL_mixer for audio support. A display with minimum 640x480
resolution and a keyboard are recommended.
http://lgames.sourceforge.net/index.php?project=LTris
if BR2_PACKAGE_LTRIS
config BR2_PACKAGE_LTRIS_AUDIO
bool "audio support"
default y
select BR2_PACKAGE_SDL_MIXER
help
Activates audio support in LTris. Will add SDL_mixer.
endif
+3
View File
@@ -0,0 +1,3 @@
# Locally computed:
sha256 a7bc6c5fc6539b88505077a1b4580edc9b179ce0a6b829c58fbd9416cf456195 ltris-1.2.tar.gz
sha256 67f82e045cf7acfef853ea0f426575a8359161a0a325e19f02b529a87c4b6c34 COPYING
+29
View File
@@ -0,0 +1,29 @@
################################################################################
#
# ltris
#
################################################################################
LTRIS_SITE = http://downloads.sourceforge.net/lgames/ltris
LTRIS_VERSION = 1.2
LTRIS_LICENSE = GPL-2.0+
LTRIS_LICENSE_FILES = COPYING
LTRIS_DEPENDENCIES = sdl $(TARGET_NLS_DEPENDENCIES)
LTRIS_LIBS = $(TARGET_NLS_LIBS)
LTRIS_CONF_ENV = \
SDL_CONFIG="$(STAGING_DIR)/usr/bin/sdl-config" \
LIBS="$(LTRIS_LIBS)"
ifeq ($(BR2_PACKAGE_LTRIS_AUDIO),y)
LTRIS_DEPENDENCIES += sdl_mixer host-pkgconf
LTRIS_CONF_OPTS += --enable-sound
# configure script does NOT use pkg-config to figure out how to link
# with sdl_mixer, breaking static linking as sdl_mixer can use libmad
LTRIS_LIBS += `$(PKG_CONFIG_HOST_BINARY) --libs SDL_mixer`
else
LTRIS_CONF_OPTS += --disable-sound
endif
$(eval $(autotools-package))