update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
Fix musl build
|
||||
|
||||
Add missing header needed for ssize_t.
|
||||
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
---
|
||||
Patch status: posted upstream
|
||||
(http://lists.gnu.org/archive/html/bug-xorriso/2016-05/msg00000.html)
|
||||
|
||||
diff -Nuar xorriso-1.4.2-orig/libisofs/aaip_0_2.h xorriso-1.4.2/libisofs/aaip_0_2.h
|
||||
--- xorriso-1.4.2-orig/libisofs/aaip_0_2.h 2015-11-28 16:41:33.000000000 +0200
|
||||
+++ xorriso-1.4.2/libisofs/aaip_0_2.h 2016-05-24 11:40:43.874191174 +0300
|
||||
@@ -16,6 +16,7 @@
|
||||
#ifndef Aaip_h_is_includeD
|
||||
#define Aaip_h_is_includeD yes
|
||||
|
||||
+#include <unistd.h>
|
||||
|
||||
/* --------------------------------- Encoder ---------------------------- */
|
||||
|
||||
22
bsp/buildroot-2017.02.11/package/xorriso/Config.in
Normal file
22
bsp/buildroot-2017.02.11/package/xorriso/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_XORRISO
|
||||
bool "xorriso"
|
||||
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
help
|
||||
xorriso copies file objects from POSIX compliant
|
||||
filesystems into Rock Ridge enhanced ISO 9660 filesystems
|
||||
and allows session-wise manipulation of such filesystems.
|
||||
It can load the management information of existing ISO
|
||||
images and it writes the session results to optical media
|
||||
or to filesystem objects.
|
||||
|
||||
Vice versa xorriso is able to copy file objects out of ISO
|
||||
9660 filesystems.
|
||||
|
||||
https://www.gnu.org/software/xorriso
|
||||
|
||||
comment "xorriso needs a toolchain w/ wchar, threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
14
bsp/buildroot-2017.02.11/package/xorriso/Config.in.host
Normal file
14
bsp/buildroot-2017.02.11/package/xorriso/Config.in.host
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_HOST_XORRISO
|
||||
bool "host xorriso"
|
||||
help
|
||||
xorriso copies file objects from POSIX compliant
|
||||
filesystems into Rock Ridge enhanced ISO 9660 filesystems
|
||||
and allows session-wise manipulation of such filesystems.
|
||||
It can load the management information of existing ISO
|
||||
images and it writes the session results to optical media
|
||||
or to filesystem objects.
|
||||
|
||||
Vice versa xorriso is able to copy file objects out of ISO
|
||||
9660 filesystems.
|
||||
|
||||
https://www.gnu.org/software/xorriso
|
||||
2
bsp/buildroot-2017.02.11/package/xorriso/xorriso.hash
Normal file
2
bsp/buildroot-2017.02.11/package/xorriso/xorriso.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 2843beded1aa4c678706e96fdf9cc5e4b34430b559bdf5bc35df5202125004b3 xorriso-1.4.2.tar.gz
|
||||
76
bsp/buildroot-2017.02.11/package/xorriso/xorriso.mk
Normal file
76
bsp/buildroot-2017.02.11/package/xorriso/xorriso.mk
Normal file
@@ -0,0 +1,76 @@
|
||||
################################################################################
|
||||
#
|
||||
# xorriso
|
||||
#
|
||||
################################################################################
|
||||
|
||||
XORRISO_VERSION = 1.4.2
|
||||
XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso
|
||||
XORRISO_LICENSE = GPLv3+
|
||||
XORRISO_LICENSE_FILES = COPYING COPYRIGHT
|
||||
# Disable everything until we actually need those features, and add the correct
|
||||
# host libraries
|
||||
HOST_XORRISO_CONF_OPTS = \
|
||||
--disable-zlib \
|
||||
--disable-bzip2 \
|
||||
--disable-libcdio \
|
||||
--disable-libreadline \
|
||||
--disable-libedit \
|
||||
--disable-libacl
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBICONV),y)
|
||||
XORRISO_DEPENDENCIES += libiconv
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBCDIO),y)
|
||||
XORRISO_DEPENDENCIES += host-pkgconf libcdio
|
||||
XORRISO_CONF_OPTS += \
|
||||
--enable-pkg-check-modules \
|
||||
--enable-libcdio
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libcdio
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_READLINE),y)
|
||||
XORRISO_DEPENDENCIES += readline
|
||||
XORRISO_CONF_OPTS += --enable-libreadline
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libreadline
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ACL),y)
|
||||
XORRISO_DEPENDENCIES += acl
|
||||
XORRISO_CONF_OPTS += --enable-libacl
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libacl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ATTR),y)
|
||||
XORRISO_DEPENDENCIES += attr
|
||||
XORRISO_CONF_OPTS += --enable-xattr
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-xattr
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
XORRISO_DEPENDENCIES += zlib
|
||||
XORRISO_CONF_OPTS += --enable-zlib
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-zlib
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BZIP2),y)
|
||||
XORRISO_DEPENDENCIES += bzip2
|
||||
XORRISO_CONF_OPTS += --enable-libbz2
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-libbz2
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
||||
XORRISO_CONF_OPTS += --enable-jtethreads
|
||||
else
|
||||
XORRISO_CONF_OPTS += --disable-jtethreads
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(host-autotools-package))
|
||||
Reference in New Issue
Block a user