initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
build/ac-macros/macosx.m4: workaround AC_RUN_IFELSE
|
||||
|
||||
The SVN_LIB_MACHO_ITERATE macro contains an AC_RUN_IFELSE test that
|
||||
doesn't work when cross-compiling. However, this macro is related to
|
||||
testing Mac OS X APIs, so in the context of Buildroot, we don't care,
|
||||
and the test program is not even going to build. So we simply
|
||||
workaround this by turning the test into an AC_COMPILE_IFELSE.
|
||||
|
||||
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
|
||||
|
||||
Index: b/build/ac-macros/macosx.m4
|
||||
===================================================================
|
||||
--- a/build/ac-macros/macosx.m4
|
||||
+++ b/build/ac-macros/macosx.m4
|
||||
@@ -24,7 +24,7 @@
|
||||
AC_DEFUN(SVN_LIB_MACHO_ITERATE,
|
||||
[
|
||||
AC_MSG_CHECKING([for Mach-O dynamic module iteration functions])
|
||||
- AC_RUN_IFELSE([AC_LANG_PROGRAM([[
|
||||
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
|
||||
#include <mach-o/dyld.h>
|
||||
#include <mach-o/loader.h>
|
||||
]],[[
|
||||
@@ -0,0 +1,20 @@
|
||||
config BR2_PACKAGE_SUBVERSION
|
||||
bool "subversion"
|
||||
# apr really needs shared library support
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_USE_MMU # apr
|
||||
select BR2_PACKAGE_APR
|
||||
select BR2_PACKAGE_APR_UTIL
|
||||
select BR2_PACKAGE_EXPAT
|
||||
select BR2_PACKAGE_LZ4
|
||||
select BR2_PACKAGE_UTF8PROC
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_SQLITE
|
||||
help
|
||||
Subversion is an open source version control system
|
||||
|
||||
http://subversion.apache.org/
|
||||
|
||||
comment "subversion needs a toolchain w/ dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://www.apache.org/dist/subversion/subversion-1.14.1.tar.bz2.sha512
|
||||
sha512 0a70c7152b77cdbcb810a029263e4b3240b6ef41d1c19714e793594088d3cca758d40dfbc05622a806b06463becb73207df249393924ce591026b749b875fcdd subversion-1.14.1.tar.bz2
|
||||
|
||||
# Locally calculated
|
||||
sha256 484aff0cfbb81155a10f903ed756e27e9fc65578c245a295bae295c4bb51eaad LICENSE
|
||||
@@ -0,0 +1,39 @@
|
||||
################################################################################
|
||||
#
|
||||
# subversion
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SUBVERSION_VERSION = 1.14.1
|
||||
SUBVERSION_SOURCE = subversion-$(SUBVERSION_VERSION).tar.bz2
|
||||
SUBVERSION_SITE = https://downloads.apache.org/subversion
|
||||
SUBVERSION_LICENSE = Apache-2.0
|
||||
SUBVERSION_LICENSE_FILES = LICENSE
|
||||
SUBVERSION_CPE_ID_VENDOR = apache
|
||||
SUBVERSION_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
apr \
|
||||
apr-util \
|
||||
expat \
|
||||
lz4 \
|
||||
utf8proc \
|
||||
zlib \
|
||||
sqlite \
|
||||
$(TARGET_NLS_DEPENDENCIES)
|
||||
SUBVERSION_AUTORECONF = YES
|
||||
SUBVERSION_CONF_OPTS = \
|
||||
--with-expat=$(STAGING_DIR)/usr/include:$(STAGING_DIR)/usr/lib: \
|
||||
--with-apr=$(STAGING_DIR)/usr \
|
||||
--with-apr-util=$(STAGING_DIR)/usr \
|
||||
--with-lz4=$(STAGING_DIR)/usr \
|
||||
--with-utf8proc=$(STAGING_DIR)/usr \
|
||||
--with-zlib=$(STAGING_DIR)/usr \
|
||||
--without-serf \
|
||||
--without-apxs \
|
||||
--without-berkeley-db \
|
||||
--without-sasl \
|
||||
--without-gnome-keyring \
|
||||
--without-libmagic
|
||||
SUBVERSION_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user