aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package/Config.in.host1
-rw-r--r--package/xorriso/Config.in.host14
-rw-r--r--package/xorriso/xorriso.mk11
3 files changed, 26 insertions, 0 deletions
diff --git a/package/Config.in.host b/package/Config.in.host
index 09c98fb77f..a91612b3ab 100644
--- a/package/Config.in.host
+++ b/package/Config.in.host
@@ -32,6 +32,7 @@ menu "Host utilities"
source "package/uboot-tools/Config.in.host"
source "package/util-linux/Config.in.host"
source "package/vboot-utils/Config.in.host"
+ source "package/xorriso/Config.in.host"
source "package/zip/Config.in.host"
endmenu
diff --git a/package/xorriso/Config.in.host b/package/xorriso/Config.in.host
new file mode 100644
index 0000000000..2baa043748
--- /dev/null
+++ b/package/xorriso/Config.in.host
@@ -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
diff --git a/package/xorriso/xorriso.mk b/package/xorriso/xorriso.mk
index e8bb5cbabe..57537e897e 100644
--- a/package/xorriso/xorriso.mk
+++ b/package/xorriso/xorriso.mk
@@ -8,6 +8,16 @@ XORRISO_VERSION = 1.4.2
XORRISO_SITE = $(BR2_GNU_MIRROR)/xorriso
XORRISO_LICENSE = GPLv3+
XORRISO_LICENSE_FILES = COPYING COPYRIGHT
+HOST_XORRISO_DEPENDENCIES =
+# Disable everything until we actually need those feature, 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
@@ -64,3 +74,4 @@ XORRISO_CONF_OPTS += --disable-jtethreads
endif
$(eval $(autotools-package))
+$(eval $(host-autotools-package))