initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
From a8fd4b1f563d24d4296c3e8225c8404e2724d4c2 Mon Sep 17 00:00:00 2001
|
||||
From: Jordan Christiansen <xordspar0@gmail.com>
|
||||
Date: Sun, 15 Mar 2020 16:55:33 -0500
|
||||
Subject: [PATCH] Remove redundant demoextend definition
|
||||
|
||||
GCC 10 enables -fno-common by default, which causes the linker to fail when
|
||||
there are multple definitions of a global variable.
|
||||
|
||||
See https://gcc.gnu.org/gcc-10/porting_to.html
|
||||
|
||||
[Retrieved from:
|
||||
https://github.com/chocolate-doom/chocolate-doom/commit/a8fd4b1f563d24d4296c3e8225c8404e2724d4c2]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/hexen/mn_menu.c | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/src/hexen/mn_menu.c b/src/hexen/mn_menu.c
|
||||
index 059f45b3e..a97b7fcd1 100644
|
||||
--- a/src/hexen/mn_menu.c
|
||||
+++ b/src/hexen/mn_menu.c
|
||||
@@ -131,7 +131,6 @@ boolean MenuActive;
|
||||
int InfoType;
|
||||
int messageson = true;
|
||||
boolean mn_SuicideConsole;
|
||||
-boolean demoextend; // from h2def.h
|
||||
|
||||
// PRIVATE DATA DEFINITIONS ------------------------------------------------
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_CHOCOLATE_DOOM
|
||||
bool "chocolate-doom"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on !BR2_STATIC_LIBS # sdl2
|
||||
select BR2_PACKAGE_SDL2
|
||||
select BR2_PACKAGE_SDL2_MIXER
|
||||
select BR2_PACKAGE_SDL2_NET
|
||||
help
|
||||
Chocolate Doom is a set of conservative source ports for Doom,
|
||||
Heretic, Hexen and Strife, with a philosophy of preserving the
|
||||
look, feel, and bugs of the vanilla versions of each.
|
||||
|
||||
http://www.chocolate-doom.org
|
||||
|
||||
comment "chocolate-doom needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 d435d6177423491d60be706da9f07d3ab4fabf3e077ec2a3fc216e394fcfc8c7 chocolate-doom-3.0.1.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
@@ -0,0 +1,38 @@
|
||||
################################################################################
|
||||
#
|
||||
# chocolate-doom
|
||||
#
|
||||
################################################################################
|
||||
|
||||
CHOCOLATE_DOOM_VERSION = 3.0.1
|
||||
CHOCOLATE_DOOM_SITE = http://www.chocolate-doom.org/downloads/$(CHOCOLATE_DOOM_VERSION)
|
||||
CHOCOLATE_DOOM_LICENSE = GPL-2.0+
|
||||
CHOCOLATE_DOOM_LICENSE_FILES = COPYING
|
||||
CHOCOLATE_DOOM_DEPENDENCIES = host-pkgconf sdl2 sdl2_mixer sdl2_net
|
||||
|
||||
# Avoid installing desktop entries, icons, etc.
|
||||
CHOCOLATE_DOOM_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-exec
|
||||
|
||||
CHOCOLATE_DOOM_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_GCC_BUG_85180),y)
|
||||
CHOCOLATE_DOOM_CFLAGS += -O0
|
||||
endif
|
||||
|
||||
CHOCOLATE_DOOM_CONF_ENV += CFLAGS="$(CHOCOLATE_DOOM_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBPNG),y)
|
||||
CHOCOLATE_DOOM_DEPENDENCIES += libpng
|
||||
CHOCOLATE_DOOM_CONF_OPTS += --with-libpng
|
||||
else
|
||||
CHOCOLATE_DOOM_CONF_OPTS += --without-libpng
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE),y)
|
||||
CHOCOLATE_DOOM_DEPENDENCIES += libsamplerate
|
||||
CHOCOLATE_DOOM_CONF_OPTS += --with-libsamplerate
|
||||
else
|
||||
CHOCOLATE_DOOM_CONF_OPTS += --without-libsamplerate
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user