initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
From d5d528e7562f358b9564e64cea0678020c51479a Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 15 Mar 2020 18:56:19 +0100
|
||||
Subject: [PATCH] src/core/paths/paths.cpp: fix powerpc build
|
||||
|
||||
Fix the following build failure on powerpc:
|
||||
|
||||
/home/test/autobuild/run/instance-2/output-1/build/linphone-4.3.1/src/core/paths/paths.cpp:32:3: error: #error "Unsupported system."
|
||||
#error "Unsupported system."
|
||||
^~~~~
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/d90bca02c2771df8dfbf39892d529fb5f9069656
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
src/core/paths/paths.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/core/paths/paths.cpp b/src/core/paths/paths.cpp
|
||||
index 0442282fe..2c6508a51 100644
|
||||
--- a/src/core/paths/paths.cpp
|
||||
+++ b/src/core/paths/paths.cpp
|
||||
@@ -26,7 +26,7 @@
|
||||
#include "paths-android.h"
|
||||
#elif defined(_WIN32)
|
||||
#include "paths-windows.h"
|
||||
-#elif defined(__linux)
|
||||
+#elif defined(__linux) || defined(__linux__)
|
||||
#include "paths-linux.h"
|
||||
#else
|
||||
#error "Unsupported system."
|
||||
--
|
||||
2.25.1
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
config BR2_PACKAGE_LINPHONE
|
||||
bool "linphone"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on !BR2_STATIC_LIBS # belle-sip, mediastreamer
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # belr, belle-sip, mediastreamer
|
||||
# belr, belle-sip, mediastreamer
|
||||
depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
depends on BR2_USE_WCHAR # belle-sip
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # mediastreamer
|
||||
select BR2_PACKAGE_BELLE_SIP
|
||||
select BR2_PACKAGE_BELR
|
||||
select BR2_PACKAGE_LIBXML2
|
||||
select BR2_PACKAGE_MEDIASTREAMER
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Linphone is an internet phone or Voice Over IP phone (VoIP).
|
||||
|
||||
With linphone you can communicate freely with people over
|
||||
the internet, with voice, video, and text instant messaging.
|
||||
Linphone makes use of the SIP protocol, an open standard
|
||||
for internet telephony. You can use Linphone with any SIP
|
||||
VoIP operator, including our free SIP audio/video service.
|
||||
linphone is free-software (or open-source), you can download
|
||||
and redistribute it freely.
|
||||
Linphone is available for desktop computers: Linux, Windows,
|
||||
MacOSX, and for mobile phones: Android, iPhone, Blackberry.
|
||||
|
||||
Linphone support in Buildroot is limited to the commandline
|
||||
client, linphonec, and video support is not enabled.
|
||||
|
||||
http://www.linphone.org/
|
||||
|
||||
comment "linphone needs a toolchain w/ threads, C++, dynamic library, wchar, gcc >= 5"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || BR2_STATIC_LIBS || \
|
||||
!BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
||||
|
||||
comment "linphone needs a toolchain not affected by GCC bug 64735"
|
||||
depends on BR2_TOOLCHAIN_HAS_GCC_BUG_64735
|
||||
@@ -0,0 +1,4 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
sha256 9956f6785a787041328da000cee5fcc1e41d6f17956ffe5e0402fac0f9a9676b linphone-4.4.8.tar.gz
|
||||
# Locally computed
|
||||
sha256 1b3782ccad7b8614100cda30d3faf42fc39f2e97932908c543005053b654ca68 LICENSE.txt
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# linphone
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LINPHONE_VERSION = 4.4.8
|
||||
LINPHONE_SITE = \
|
||||
https://gitlab.linphone.org/BC/public/liblinphone/-/archive/$(LINPHONE_VERSION)
|
||||
LINPHONE_CONF_OPTS = \
|
||||
-DENABLE_ADVANCED_IM=OFF \
|
||||
-DENABLE_CXX_WRAPPER=OFF \
|
||||
-DENABLE_DB_STORAGE=OFF \
|
||||
-DENABLE_LIME=OFF \
|
||||
-DENABLE_LIME_X3DH=OFF \
|
||||
-DENABLE_STRICT=OFF \
|
||||
-DENABLE_TOOLS=OFF \
|
||||
-DENABLE_TUTORIALS=OFF \
|
||||
-DENABLE_UNIT_TESTS=OFF \
|
||||
-DENABLE_VCARD=OFF \
|
||||
-DENABLE_VIDEO=OFF \
|
||||
-DGIT_EXECUTABLE=OFF
|
||||
LINPHONE_INSTALL_STAGING = YES
|
||||
LINPHONE_DEPENDENCIES = \
|
||||
belle-sip \
|
||||
belr \
|
||||
libxml2 \
|
||||
mediastreamer \
|
||||
sqlite \
|
||||
$(if $(BR2_PACKAGE_ZLIB),zlib)
|
||||
LINPHONE_LICENSE = GPL-3.0+
|
||||
LINPHONE_LICENSE_FILES = LICENSE.txt
|
||||
|
||||
ifeq ($(BR2_STATIC_LIBS),y)
|
||||
LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=OFF
|
||||
else ifeq ($(BR2_SHARED_STATIC_LIBS),y)
|
||||
LINPHONE_CONF_OPTS += -DENABLE_STATIC=ON -DENABLE_SHARED=ON
|
||||
else ifeq ($(BR2_SHARED_LIBS),y)
|
||||
LINPHONE_CONF_OPTS += -DENABLE_STATIC=OFF -DENABLE_SHARED=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user