tool/create_iso: Make ISO creation tool configurable

Debian has dropped mkisofs long time ago, hence hardcoding it prevents
Genode from being built on Debian easily. This patch makes the tool
configurable (defaulting to mkisofs). Building on Debian can then be
done by something like:

ISOTOOL=genisoimage make run/foobar

Fixes #2234
Fixes #2235
This commit is contained in:
Alexander Senier 2016-09-17 19:16:53 +02:00 committed by Christian Helmuth
parent e933c7b4d8
commit 7ac46dd621

View File

@ -5,6 +5,7 @@
# \date 2009-02-05
ISO ?= genode
ISOTOOL ?= mkisofs
ISODIR = $(abspath $(ISO))
ISOIMG = $(abspath $(ISO).iso)
@ -30,7 +31,7 @@ default help:
# parameter 1 filename of ISO image
# parameter 2 path of directory containing file tree for the ISO image
#
gen_iso_image = mkisofs -f -l -R -hide-rr-moved -jcharset utf-8 \
gen_iso_image = $(ISOTOOL) -f -l -R -hide-rr-moved -jcharset utf-8 \
-no-emul-boot -boot-load-size 4 -boot-info-table \
-b boot/isolinux/isolinux.bin \
-o $(1) $(2)