mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-25 00:11:13 +00:00
4a0f426ba5
Some system not have mkisofs, but have genisoimage or xorrisofs. They have compatable options for mkisofs, so let them as alternatives to mkisofs. Signed-off-by: 李国 <uxgood.org@gmail.com>
32 lines
723 B
Makefile
32 lines
723 B
Makefile
#
|
|
# Copyright (C) 2006-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
ARCH:=i386
|
|
BOARD:=x86
|
|
BOARDNAME:=x86
|
|
FEATURES:=squashfs ext4 vdi vmdk pcmcia targz fpu boot-part rootfs-part
|
|
SUBTARGETS:=generic legacy geode 64
|
|
|
|
KERNEL_PATCHVER:=5.4
|
|
KERNEL_TESTING_PATCHVER:=5.4
|
|
|
|
KERNELNAME:=bzImage
|
|
|
|
include $(INCLUDE_DIR)/target.mk
|
|
|
|
DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs
|
|
|
|
$(eval $(call BuildTarget))
|
|
|
|
$(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
|
|
Please install mkisofs. , \
|
|
mkisofs -v 2>&1 , \
|
|
genisoimage -v 2>&1 | grep genisoimage, \
|
|
xorrisofs -v 2>&1 | grep xorriso \
|
|
))
|