mediatek: mt7623: use bash for generating bootable images
[openwrt/openwrt.git] / target / linux / x86 / Makefile
1 #
2 # Copyright (C) 2006-2011 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 ARCH:=i386
10 BOARD:=x86
11 BOARDNAME:=x86
12 FEATURES:=squashfs ext4 vdi vmdk pcmcia targz fpu boot-part rootfs-part
13 SUBTARGETS:=generic legacy geode 64
14
15 KERNEL_PATCHVER:=5.4
16 KERNEL_TESTING_PATCHVER:=5.4
17
18 KERNELNAME:=bzImage
19
20 include $(INCLUDE_DIR)/target.mk
21
22 DEFAULT_PACKAGES += partx-utils mkf2fs e2fsprogs kmod-button-hotplug
23
24 $(eval $(call BuildTarget))
25
26 $(eval $(call $(if $(CONFIG_ISO_IMAGES),SetupHostCommand,Ignore),mkisofs, \
27 Please install mkisofs. , \
28 mkisofs -v 2>&1 , \
29 genisoimage -v 2>&1 | grep genisoimage, \
30 xorrisofs -v 2>&1 | grep xorriso \
31 ))